BMFRouteStep class Null safety
此类表示路线中的一个路段(基类)
Constructors
- BMFRouteStep({int? distance, int? duration, List? points, int? pointsCount, String? name})
- 有参构造
- BMFRouteStep.fromMap(Map map)
- map => BMFRouteStep
Properties
- distance ↔ int?
-
路段长度 单位: 米
read / write
- duration ↔ int?
-
路段耗时 单位: 秒
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- name ↔ String?
-
路段道路名称
read / write
- points ↔ List?
-
路段所经过的坐标集合
read / write
- pointsCount ↔ int?
-
路段所经过的地理坐标集合内点的个数
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
fromMap(
Map map) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited