toJson method

Map<String, dynamic> toJson()

Converts this instance to JSON data.

Implementation

Map<String, dynamic> toJson() {
  return {
    'status': status,
    'formatted_address': formattedAddress,
    'route_name': routeName,
    'route_type': routeType,
    'neighbourhood': neighbourhood,
    'city': city,
    'state': state,
    'place': place,
    'municipality_zone': municipalityZone,
    'in_traffic_zone': inTrafficZone,
    'in_odd_even_zone': inOddEvenZone,
    'village': village,
    'county': county,
    'district': district,
  };
}