toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "highway": highway,
    "road": road,
    "city": city,
    "stateDistrict": stateDistrict,
    "state": state,
    "postcode": postcode,
    "country": country,
    "countryCode": countryCode
  };
}