api/place_builder library
Classes
- RawAddressComponent
-
One address component normalized from either wire format:
legacy
long_name/short_nameor Places API (New)longText/shortText.
Functions
-
buildPlaceFromComponents(
{required List< RawAddressComponent> components, String? name, String? formattedAddress, double? lat, double? lng}) → Place -
Builds a Place from normalized address
componentsplus top-level fields. Shared by both API providers so that derived fields (Place.zipCodePlus4 and the synthesized Place.streetAddress, Place.formattedAddress, Place.formattedAddressZipPlus4) behave identically regardless of backend.