mapListFromJson static method

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

Implementation

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