RequestPoint class

Point for a route build request

There are two types of request points.

A waypoint is a destination. Use it when you plan to stop there. Via points (throughpoints) correct the route to make it pass through all the via points.

Waypoints are guaranteed to be between sections in the resulting route. Via points are embedded into sections.

Constructors

RequestPoint({required Point point, required RequestPointType requestPointType})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
point Point
The request point.
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
requestPointType RequestPointType
The type of request point specified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter

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