RegionalBloc.fromJson constructor

RegionalBloc.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RegionalBloc.fromJson(Map<String, dynamic?> json) => RegionalBloc(
      acronym: json["acronym"] == null ? null : json["acronym"],
      name: json["name"] == null ? null : json["name"],
      otherAcronyms: json["otherAcronyms"] == null
          ? null
          : List<dynamic>.from(json["otherAcronyms"].map((x) => x)),
      otherNames: json["otherNames"] == null
          ? null
          : List<dynamic>.from(json["otherNames"].map((x) => x)),
    );