mapListFromJson static method

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

Implementation

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