toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
        'cityName': cityName,
        'cityCode': cityCode,
        'countryName': countryName,
        'countryCode': countryCode,
        'stateCode': stateCode,
        'regionCode': regionCode,
      };