BMFTransitStep class Null safety
此类表示公交换乘路线中的一个路段
- Inheritance
-
- Object
- BMFRouteStep
- BMFTransitStep
Constructors
- BMFTransitStep({int? distance, int? duration, List? points, int? pointsCount, String? name, dynamic entrace, dynamic exit, String? instruction, dynamic stepType, dynamic vehicleInfo})
- 有参构造
- BMFTransitStep.fromMap(Map map)
- map => BMFTransitStep
Properties
- distance ↔ int?
-
路段长度 单位: 米
read / write, inherited
- duration ↔ int?
-
路段耗时 单位: 秒
read / write, inherited
- entrace ↔ dynamic
-
路段入口信息
read / write
- exit ↔ dynamic
-
路段出口信息
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- instruction ↔ String?
-
路段换乘说明
read / write
- name ↔ String?
-
路段道路名称
read / write, inherited
- points ↔ List?
-
路段所经过的坐标集合
read / write, inherited
- pointsCount ↔ int?
-
路段所经过的地理坐标集合内点的个数
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stepType ↔ dynamic
-
路段类型
read / write
- vehicleInfo ↔ dynamic
-
当路段为公交路段或地铁路段时,可以获取交通工具信息
read / write
Methods
-
fromMap(
Map map) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited