BMFTransitRouteLine class

此类表示一个换乘路线,换乘路线将根据既定策略调配多种交通工具

Inheritance

Constructors

BMFTransitRouteLine({int distance, BMFTime duration, BMFRouteNode starting, BMFRouteNode terminal, String title, List<BMFTransitStep> steps})
有参构造
BMFTransitRouteLine.fromMap(Map map)
map => BMFTransitRouteLine

Properties

distance ↔ int
路线长度 单位: 米
read / write, inherited
duration BMFTime
路线耗时 单位: 秒
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
starting BMFRouteNode
路线起点信息
read / write, inherited
steps ↔ List<BMFTransitStep>
路线中的所有路段
read / write
terminal BMFRouteNode
路线终点信息
read / write, inherited
title ↔ String
路线名称(预留字段,现为空)
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