Address class

Primary data of an address to perform geolocation processes.

Constructors

Address({required Coords? coords, required Bounds? bounds, required String? reference, required String? placeId})
Constructor for Address.
Address.fromCoords({required Coords? coords})
Constructor for Address just setting coords.
Address.fromReference({required String? reference, String? placeId})
Constructor for Address just setting reference and placeId.

Properties

bounds Bounds?
Bounds.
final
coords Coords?
Coordinates.
final
hasBounds bool
Checks if bounds exists.
no setter
hasCoords bool
Checks if coords exists.
no setter
hashCode int
The hash code for this object.
no setteroverride
hasPlaceId bool
Checks if Place Id exists.
no setter
hasReference bool
Checks if reference exists.
no setter
isCompleted bool
Checks if all properties exist.
no setter
placeId String?
Place Id from Google Place API.
final
reference String?
Reference or streets.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Coords? coordsParam, Bounds? boundsParam, String? referenceParam, String? placeIdParam}) Address
Permits to get an Address copy and update its data with other Address.
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