toJson method
Implementation
Map<String, dynamic> toJson() {
final andAllFilters = this.andAllFilters;
final containsAll = this.containsAll;
final containsAny = this.containsAny;
final equalsTo = this.equalsTo;
final greaterThan = this.greaterThan;
final greaterThanOrEquals = this.greaterThanOrEquals;
final lessThan = this.lessThan;
final lessThanOrEquals = this.lessThanOrEquals;
final notFilter = this.notFilter;
final orAllFilters = this.orAllFilters;
return {
if (andAllFilters != null) 'AndAllFilters': andAllFilters,
if (containsAll != null) 'ContainsAll': containsAll,
if (containsAny != null) 'ContainsAny': containsAny,
if (equalsTo != null) 'EqualsTo': equalsTo,
if (greaterThan != null) 'GreaterThan': greaterThan,
if (greaterThanOrEquals != null)
'GreaterThanOrEquals': greaterThanOrEquals,
if (lessThan != null) 'LessThan': lessThan,
if (lessThanOrEquals != null) 'LessThanOrEquals': lessThanOrEquals,
if (notFilter != null) 'NotFilter': notFilter,
if (orAllFilters != null) 'OrAllFilters': orAllFilters,
};
}