toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'filters': filters.map((filter) => filter.toMap()).toList(),
    'orderBy': orderBy?.map((o) => o.toMap()).toList(),
    'limit': limit,
  };
}