mapListFromJson static method

Map<String, List<Query?>?> mapListFromJson(
  1. Map<String, dynamic> json, {
  2. bool? emptyIsNull,
  3. bool? growable,
})

Implementation

static Map<String, List<Query?>?> mapListFromJson(
  Map<String, dynamic> json, {
  bool? emptyIsNull,
  bool? growable,
}) {
  final Map<String, List<Query?>?> map = <String, List<Query>?>{};
  if (json.isNotEmpty == true) {
    json.forEach((key, value) {
      map[key] = Query.listFromJson(
        value,
        emptyIsNull: emptyIsNull,
        growable: growable,
      );
    });
  }
  return map;
}