BMFMassTransitRoutePlanOption class

公共交通路线查询基础信息类(支持市内和跨城)(注:起终点城市不支持cityId)

Inheritance

Constructors

BMFMassTransitRoutePlanOption({@required BMFPlanNode from, @required BMFPlanNode to, int pageCapacity: 10, int pageIndex: 0, BMFMassTransitIncityPolicy incityPolicy: BMFMassTransitIncityPolicy.RECOMMEND, BMFMassTransitIntercityPolicy intercityPolicy: BMFMassTransitIntercityPolicy.TIME_FIRST, BMFMassTransitIntercityTransPolicy intercityTransPolicy: BMFMassTransitIntercityTransPolicy.TRAIN_FIRST})
有参构造
BMFMassTransitRoutePlanOption.fromMap(Map map)
map => BMFMassTransitRoutePlanOption

Properties

from BMFPlanNode
路线规划的起点 [...]
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
incityPolicy BMFMassTransitIncityPolicy
市内公交换乘策略,可选, [...]
read / write
intercityPolicy BMFMassTransitIntercityPolicy
跨城公交换乘策略,可选, [...]
read / write
intercityTransPolicy BMFMassTransitIntercityTransPolicy
跨城交通方式策略,可选, [...]
read / write
pageCapacity ↔ int
分页数量,可选, [...]
read / write
pageIndex ↔ int
分页索引,可选, [...]
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
to BMFPlanNode
路线规划的终点 [...]
read / write, inherited

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