GoogleMapsPlacesV1AddressDescriptorLandmark class
Basic landmark information and the landmark's relationship with the target location.
Landmarks are prominent places that can be used to describe a location.
Constructors
-
GoogleMapsPlacesV1AddressDescriptorLandmark.new({GoogleTypeLocalizedText? displayName, String? name, String? placeId, String? spatialRelationship, double? straightLineDistanceMeters, double? travelDistanceMeters, List<
String> ? types}) - GoogleMapsPlacesV1AddressDescriptorLandmark.fromJson(Map json_)
Properties
- displayName ↔ GoogleTypeLocalizedText?
-
The landmark's display name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The landmark's resource name.
getter/setter pair
- placeId ↔ String?
-
The landmark's place id.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spatialRelationship ↔ String?
-
Defines the spatial relationship between the target location and the
landmark.
Possible string values are:
getter/setter pair
- straightLineDistanceMeters ↔ double?
-
The straight line distance, in meters, between the center point of the
target and the center point of the landmark.
getter/setter pair
- travelDistanceMeters ↔ double?
-
The travel distance, in meters, along the road network from the target to
the landmark, if known.
getter/setter pair
-
types
↔ List<
String> ? -
A set of type tags for this landmark.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited