BMFVehicleInfo class Null safety

路线换乘方案里的交通工具信息类

Constructors

BMFVehicleInfo({String? uid, String? title, int? passStationNum, int? totalPrice, int? zonePrice})
有参构造
BMFVehicleInfo.fromMap(Map map)
map => BMFVehicleInfo

Properties

hashCode → int
The hash code for this object.
read-only, inherited
passStationNum ↔ int?
该交通路线的所乘站数
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
title ↔ String?
该交通路线的名称
read / write
totalPrice ↔ int?
该交通路线的全程价格
read / write
uid ↔ String?
该交通路线的标识
read / write
zonePrice ↔ int?
该交通路线的所乘区间的区间价格
read / write

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