toMap method

Map<String, Object> toMap()

Implementation

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