SectionCity.fromJson constructor

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

Implementation

factory SectionCity.fromJson(Map<String, dynamic> json) {
  return SectionCity(
    letter: json["letter"].toString(),
    data: json["data"] == null
        ? []
        : json["data"].map((o) => AddressNode.fromJson(o)).toList(),
  );
}