mapFromJson static method

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

Implementation

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