BMFBaseVehicleInfo class Null safety
公共交通方案里的交通工具信息基类类
Constructors
- BMFBaseVehicleInfo({String? name, String? departureStation, String? arriveStation, String? departureTime, String? arriveTime})
- 有参构造
- BMFBaseVehicleInfo.fromMap(Map map)
- map => BMFBaseVehicleInfo
Properties
- arriveStation ↔ String?
-
到达站
read / write
- arriveTime ↔ String?
-
到达时间(BMFBusVehicleInfo时arriveTime为空)
read / write
- departureStation ↔ String?
-
出发站
read / write
- departureTime ↔ String?
-
出发时间(BMFBusVehicleInfo时departureTime为空)
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- name ↔ String?
-
该交通路线的名称
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
fromMap(
Map map) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited