BMFRidingStep class

此类表示骑行路线中的一个路段

Inheritance

Constructors

BMFRidingStep({int? distance, int? duration, List<BMFCoordinate>? points, int? pointsCount, String? name, int? direction, BMFRouteNode? entrace, String? entraceInstruction, BMFRouteNode? exit, String? exitInstruction, String? instruction, String? turnType, String? restrictionsInfo, int? restrictionsStatus})
有参构造
BMFRidingStep.fromMap(Map map)
map => BMFRidingStep

Properties

direction ↔ int?
该路段起点方向值
getter/setter pair
distance ↔ int?
路段长度 单位: 米
getter/setter pairinherited
duration ↔ int?
路段耗时 单位: 秒
getter/setter pairinherited
entrace BMFRouteNode?
路段入口信息
getter/setter pair
entraceInstruction ↔ String?
获取该路段入口指示信息
getter/setter pair
exit BMFRouteNode?
路段出口信息
getter/setter pair
exitInstruction ↔ String?
获取该路段出口指示信息
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
instruction ↔ String?
获取该路段指示信息
getter/setter pair
name ↔ String?
路段道路名称
getter/setter pairinherited
points ↔ List<BMFCoordinate>?
路段所经过的坐标集合
getter/setter pairinherited
pointsCount ↔ int?
路段所经过的地理坐标集合内点的个数
getter/setter pairinherited
restrictionsInfo ↔ String?
限行信息,如 "包含禁行路段|包含逆行路段"
getter/setter pair
restrictionsStatus ↔ int?
限行类型,0:正常路段,无限行; 1表示禁行;2表示逆行
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
turnType ↔ String?
路段转弯类型
getter/setter pair

Methods

fromMap(Map map) → dynamic
map -> dynamic
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
model -> map
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited