addParam method
inherited
This method adds key and value to an Entry.
key
The key as string which needs to be added to an Entry
value
The value as string which needs to be added to an Entry
EntryQueryable
object, so you can chain this call.
Example:
final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final entry = stack.contentType("contentTypeUid").entry("entryUid");
entry.addParam(key, value);
Implementation
void addParam(String key, String value) {
if (key != null && value != null && key.isNotEmpty && value.isNotEmpty) {
parameter[key] = value.toString();
}
}