BMFRidingRoutePlanOption class

骑行查询基础信息类

Inheritance

Constructors

BMFRidingRoutePlanOption({required BMFPlanNode from, required BMFPlanNode to, int? ridingType = 0, List<BMFPlanNode>? wayPointsArray, int? roadPrefer = 0})
有参构造
BMFRidingRoutePlanOption.fromMap(Map map)
map => BMFRidingRoutePlanOption

Properties

from BMFPlanNode?
路线规划的起点
read / writeinherited
hashCode → int
The hash code for this object.
read-onlyinherited
id → String
getter方法 用于区分不同搜索结果
read-onlyinherited
ridingType ↔ int?
骑行类型(0:普通骑行,1:电动车骑行)
read / write
roadPrefer ↔ int?
骑行路线偏好 默认为0代表智能推荐路线 3代表规避逆行
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
to BMFPlanNode?
路线规划的终点
read / writeinherited
wayPointsArray ↔ List<BMFPlanNode>?
骑行途经点(目前仅支持一个途经点) since 3.3.0
read / write

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