BMFTaxiInfo class
打车信息类
Constructors
- BMFTaxiInfo({String desc, int distance, int duration, double perKMPrice, double startPrice, double totalPrice})
- 有参构造
- BMFTaxiInfo.fromMap(Map map)
- map => BMFTaxiInfo
Properties
- desc ↔ String
-
路线打车描述信息
read / write
- distance ↔ int
-
总路程,单位: 米
read / write
- duration ↔ int
-
总耗时,单位: 秒
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- perKMPrice ↔ double
-
每千米单价(白天),单位 元
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startPrice ↔ double
-
起步价(白天),单位 元
read / write
- totalPrice ↔ double
-
总价(预估) , 单位: 元
read / write
Methods
-
fromMap(
Map map) → dynamic - map -> dynamic
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, Object> - model -> map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited