DirectionsRoute class
Constructors
-
DirectionsRoute({double? distance, double? duration, String? geometry, double? weight, String? weightName, int? routeIndex, List<
RouteLeg> ? legs, RouteOptions? routeOptions})
Properties
- distance → double?
-
final
- duration → double?
-
final
- geometry → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
legs
→ List<
RouteLeg> ? -
final
- routeIndex → int?
-
final
- routeOptions → RouteOptions?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weight → double?
-
final
- weightName → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> map) → DirectionsRoute