Location class

The location of a business, including address, city, state, zip code and country.

Constructors

Location({String? address1, String? address2, String? address3, String? city, String? country, String? crossStreets, List<String>? displayAddress, String? state, String? zipCode})
Location.fromJson(String source)
factory
Location.fromMap(Map<String, dynamic>? map)
factory

Properties

address1 String?
Street address of a business.
final
address2 String?
Street address of a business, continued.
final
address3 String?
Street address of a business, continued.
final
city String?
City of a business.
final
country String?
ISO 3166-1 alpha-2 country code of a business.
final
crossStreets String?
Cross streets for a business.
final
displayAddress List<String>?
Array of strings that if organized vertically give an address that is in the standard address format for the business's country.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
ISO 3166-2 (with a few exceptions) state code of a business.
final
zipCode String?
Zip code of a business.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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