BMFDrivingRouteLine class Null safety
此类表示一条驾车路线
- Inheritance
-
- Object
- BMFRouteLine
- BMFDrivingRouteLine
Constructors
- BMFDrivingRouteLine({int? distance, dynamic duration, dynamic starting, dynamic terminal, String? title, List? steps, List? wayPoints, int? lightNum, int? congestionMetres, int? taxiFares})
- 有参构造
- BMFDrivingRouteLine.fromMap(Map map)
- map => BMFDrivingRouteLine
Properties
- congestionMetres ↔ int?
-
路线拥堵米数,发起请求时需设置参数 drivingRequestTrafficType = BMF_DRIVING_REQUEST_TRAFFICE_TYPE_PATH_AND_TRAFFICE 才有值
read / write
- distance ↔ int?
-
路线长度 单位: 米
read / write, inherited
- duration ↔ dynamic
-
路线耗时 单位: 秒
read / write, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- lightNum ↔ int?
-
路线红绿灯个数
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- starting ↔ dynamic
-
路线起点信息
read / write, inherited
- steps ↔ List?
-
路线中的所有路段
read / write
- taxiFares ↔ int?
-
路线预估打车费(元),负数表示无打车费信息
read / write
- terminal ↔ dynamic
-
路线终点信息
read / write, inherited
- title ↔ String?
-
路线名称(预留字段,现为空)
read / write, inherited
- wayPoints ↔ List?
-
路线途经点列表,成员类型为BMFPlanNode
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