Address.fromJson constructor

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

Implementation

factory Address.fromJson(Map<String, dynamic> json) => Address(
      road: json["road"],
      village: json["village"],
      county: json["county"],
      stateDistrict: json["state_district"],
      state: json["state"],
      iso31662Lvl4: json["ISO3166-2-lvl4"],
      postcode: json["postcode"],
      country: json["country"],
      countryCode: json["country_code"],
    );