whereIs method
Creates a filter for boolean condition searches.
type
: The property to filter by, either a String or a Function.
value
: The boolean value to compare the property against.
Returns a CoffeeRequestGet<T> configured for boolean condition searches.
Usage Example
whereIs('isValid', true)
whereIs((Model model) => model.isValid, false)
Implementation
CoffeeRequestGet<T> whereIs(dynamic type, bool value) {
_queryParameters.add(cqf.whereIs(type, value));
return this;
}