BMFDrivingStep class Null safety
此类表示驾车路线中的一个路段
- Inheritance
-
- Object
- BMFRouteStep
- BMFDrivingStep
Constructors
-
BMFDrivingStep({int? distance, int? duration, List? points, int? pointsCount, String? name, int? direction, dynamic entrace, String? entraceInstruction, dynamic exit, String? exitInstruction, String? instruction, int? numTurns, bool? hasTrafficsInfo, List<
int> ? traffics, int? roadLevel, String? roadName}) - BMFDrivingStep.fromMap(Map map)
- map => BMFDrivingStep
Properties
- direction ↔ int?
-
该路段起点方向值
read / write
- distance ↔ int?
-
路段长度 单位: 米
read / write, inherited
- duration ↔ int?
-
路段耗时 单位: 秒
read / write, inherited
- entrace ↔ dynamic
-
路段入口信息
read / write
- entraceInstruction ↔ String?
-
路段入口的指示信息
read / write
- exit ↔ dynamic
-
路段出口信息
read / write
- exitInstruction ↔ String?
-
路段出口指示信息
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- hasTrafficsInfo ↔ bool?
-
路段是否有路况信息
read / write
- instruction ↔ String?
-
路段总体指示信息
read / write
- name ↔ String?
-
路段道路名称
read / write, inherited
- numTurns ↔ int?
-
路段需要转弯数
read / write
- points ↔ List?
-
路段所经过的坐标集合
read / write, inherited
- pointsCount ↔ int?
-
路段所经过的地理坐标集合内点的个数
read / write, inherited
- roadLevel ↔ int?
-
道路类型
read / write
- roadName ↔ String?
-
道路名称 Since 3.1.0
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
traffics
↔ List<
int> ? -
路段的路况信息,成员为NSNumber。0:无数据;1:畅通;2:缓慢;3:拥堵
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