DrivePath class

Constructors

DrivePath({num? restriction, List<Steps>? steps, String? strategy, num? tollDistance, num? totalDuration, num? totalDistance, num? tolls, num? totalTrafficlights})
DrivePath.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setteroverride
restriction num?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<Steps>?
getter/setter pair
strategy String?
getter/setter pair
tollDistance num?
getter/setter pair
tolls num?
起点和终点的距离
getter/setter pair
totalDistance num?
预计耗时(单位:秒)
getter/setter pair
totalDuration num?
getter/setter pair
totalTrafficlights num?
getter/setter pair

Methods

copyWith({int? restriction, List<Steps>? steps, String? strategy, num? tollDistance, num? totalDuration, num? totalDistance, num? tolls, int? totalTrafficlights}) DrivePath
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.
override

Operators

operator ==(Object other) bool
The equality operator.
override