BMFBusVehicleInfo class Null safety
公共交通方案里的交通工具信息类- 公交车、地铁
- 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 / write, inherited
- arriveTime ↔ String?
-
到达时间(BMFBusVehicleInfo时arriveTime为空)
read / write, inherited
- departureStation ↔ String?
-
出发站
read / write, inherited
- departureTime ↔ String?
-
出发时间(BMFBusVehicleInfo时departureTime为空)
read / write, inherited
- firstTime ↔ String?
-
始发车发车时间
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- lastTime ↔ String?
-
末班车发车时间
read / write
- name ↔ String?
-
该交通路线的名称
read / write, inherited
- passStationNum ↔ int?
-
该交通路线的所乘站数
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ int?
-
市内公交的具体类型
read / write
Methods
-
fromMap(
Map map) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited