GmhAddressData class

Constructors

GmhAddressData.new({int? distance, required double lat, required double lng, required String placeId, required String address, List<String> types = const []})
Data model representing address information returned by Google Maps.
const

Properties

address String
The full address as a string.
final
distance int?
Distance in meters between this address & center location
final
hashCode int
The hash code for this object.
no setterinherited
lat double
The latitude of the address.
final
lng double
The longitude of the address.
final
placeId String
The unique Place ID associated with the address.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<String>
Address types
final

Methods

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

Operators

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