BMFTransitRoutePlanOption class

公交查询基础信息类

Inheritance

Constructors

BMFTransitRoutePlanOption({@required BMFPlanNode from, @required BMFPlanNode to, String city, BMFTransitPolicy transitPolicy: BMFTransitPolicy.TIME_FIRST})
有参构造
BMFTransitRoutePlanOption.fromMap(Map map)
map => BMFTransitRoutePlanOption

Properties

city ↔ String
城市名,用于在哪个城市内进行检索
read / write
from BMFPlanNode
路线规划的起点 [...]
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
to BMFPlanNode
路线规划的终点 [...]
read / write, inherited
transitPolicy BMFTransitPolicy
公交检索策略, [...]
read / write

Methods

fromMap(Map map) → dynamic
map -> dynamic
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map<String, Object>
model -> map
override
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited