BMFTransitStep class

此类表示公交换乘路线中的一个路段

Inheritance

Constructors

BMFTransitStep({int? distance, int? duration, List<BMFCoordinate>? points, int? pointsCount, String? name, BMFRouteNode? entrace, BMFRouteNode? exit, String? instruction, BMFTransitStepType? stepType, BMFVehicleInfo? vehicleInfo})
有参构造
BMFTransitStep.fromMap(Map map)
map => BMFTransitStep

Properties

distance ↔ int?
路段长度 单位: 米
getter/setter pairinherited
duration ↔ int?
路段耗时 单位: 秒
getter/setter pairinherited
entrace BMFRouteNode?
路段入口信息
getter/setter pair
exit BMFRouteNode?
路段出口信息
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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stepType BMFTransitStepType?
路段类型
getter/setter pair
vehicleInfo BMFVehicleInfo?
当路段为公交路段或地铁路段时,可以获取交通工具信息
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