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"],
      state: json["state"],
      iso31662Lvl4: json["ISO3166-2-lvl4"],
      postcode: json["postcode"],
      country: json["country"],
      countryCode: json["country_code"],
    );