UserRoadblockPathPreviewCoordinate class Routes & Navigation

User roadblock path preview match information.

Represents a candidate coordinate returned by TrafficService.getPersistentRoadblockPathPreview. It contains the coordinate and internal match metadata used by the SDK when suggesting the next roadblock point.

See also:

Constructors

UserRoadblockPathPreviewCoordinate.fromCoordinates(Coordinates coords)
Creates a UserRoadblockPathPreviewCoordinate from a Coordinates. This should be used for the initial call to TrafficService.getPersistentRoadblockPathPreview in order to start the preview process.
factory
UserRoadblockPathPreviewCoordinate.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

coordinates Coordinates
The preview coordinate.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
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
toJson() Map<String, dynamic>
Serializes this instance to a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant UserRoadblockPathPreviewCoordinate other) bool
The equality operator.
override