LocalitiesDetailsRequest class

Localities Details Request

Constructors

LocalitiesDetailsRequest.new({required String publicId, String? language, List<String>? fields, CountryCodeFormat? countryCodeFormat})
New LocalitiesDetailsRequest

Properties

countryCodeFormat CountryCodeFormat?
To specify the format for the short country code expected to be returned in the address_components field (default is alpha3).
getter/setter pair
fields List<String>?
If set, it will limit the content of responses to the specified fields. This parameter can be any combination of geometry, address_components or shape (defaults to geometry|address_components).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
The language code, using ISO 3166-1 Alpha-2 country codes, indicating in which language the results should be returned, if possible. If language is not supplied, the Localities service will use English as the default language. No language necessary for postal_code request.
getter/setter pair
publicId String
A textual identifier that uniquely identifies a locality, returned from a Localities Autocomplete.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert LocalitiesDetailsRequest to JSON format
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited