BMFBusVehicleInfo class
公共交通方案里的交通工具信息类- 公交车、地铁
- Inheritance
-
- Object
- BMFBaseVehicleInfo
- BMFBusVehicleInfo
Constructors
- BMFBusVehicleInfo({String? name, String? departureStation, String? arriveStation, String? departureTime, String? arriveTime, int? passStationNum, String? firstTime, String? lastTime, int? type})
- 有参构造
- BMFBusVehicleInfo.fromMap(Map map)
- map => BMFBusVehicleInfo
Properties
- arriveStation ↔ String?
-
到达站
read / writeinherited
- arriveTime ↔ String?
-
到达时间(BMFBusVehicleInfo时arriveTime为空)
read / writeinherited
- departureStation ↔ String?
-
出发站
read / writeinherited
- departureTime ↔ String?
-
出发时间(BMFBusVehicleInfo时departureTime为空)
read / writeinherited
- firstTime ↔ String?
-
始发车发车时间
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- lastTime ↔ String?
-
末班车发车时间
read / write
- name ↔ String?
-
该交通路线的名称
read / writeinherited
- passStationNum ↔ int?
-
该交通路线的所乘站数
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type ↔ int?
-
市内公交的具体类型
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