query method
inherited
Add a custom query against specified key.
key
key for the query
value
value for the query
Example:
final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final query = stack.contentType("contentTypeUid").entry().query();
query.addQuery("query_param_key", "query_param_value");
Implementation
void query(String key, String value) {
if (key != null && value != null && key.isNotEmpty && value.isNotEmpty) {
parameter[key] = value.toString();
}
}