SnappedPoint class abstract
SnappedPoint
Properties:
- location
- placeId - A unique identifier for a place. All place IDs returned by the Roads API correspond to road segments.
- originalIndex - An integer that indicates the corresponding value in the original request. Each value in the request should map to a snapped value in the response. However, if you've set interpolate=true, then it's possible that the response will contain more coordinates than the request. Interpolated values will not have an
originalIndex
. These values are indexed from0
, so a point with an originalIndex of4
will be the snapped value of the 5th latitude/longitude passed to the path parameter.
Constructors
- SnappedPoint([void updates(SnappedPointBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → LatitudeLongitudeLiteral
-
no setter
- originalIndex → num?
-
An integer that indicates the corresponding value in the original request. Each value in the request should map to a snapped value in the response. However, if you've set interpolate=true, then it's possible that the response will contain more coordinates than the request. Interpolated values will not have an
originalIndex
. These values are indexed from0
, so a point with an originalIndex of4
will be the snapped value of the 5th latitude/longitude passed to the path parameter.no setter - placeId → String
-
A unique identifier for a place. All place IDs returned by the Roads API correspond to road segments.
no setter
- 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
-
rebuild(
dynamic updates(SnappedPointBuilder)) → SnappedPoint -
Rebuilds the instance.
inherited
-
toBuilder(
) → SnappedPointBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
SnappedPoint> -
no setter