buildMap method

  1. @override
Map<String, Object?> buildMap()

For use with POST methods that can handle JSON types

Implementation

@override
Map<String, Object?> buildMap() {
  return {
    'queries': queries.map((e) => e.toSparseMap()).toList(),
  };
}