toJson method

  1. @override
Map<String, dynamic> toJson()

Serializes an object to a map representation.

Implementation

@override
Map<String, dynamic> toJson() => {
  'collection': collection,
  'query': query,
  'filter': filter?.toJson(),
  'options': options.toJson(),
};