toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'street': street,
    'city': city,
    'country': country?.toMap(),
    'code': code,
    'latitude': latitude,
    'longitude': longitude,
  };
}