mapFromJson static method

Map<String, Query?> mapFromJson(
  1. Map<String, dynamic> json
)

Implementation

static Map<String, Query?> mapFromJson(Map<String, dynamic> json) {
  final map = <String, Query?>{};
  if (json.isNotEmpty == true) {
    json.forEach((key, value) => map[key] = Query.fromJson(value));
  }
  return map;
}