BMFTaxiInfo.fromMap constructor
- Map map
map => BMFTaxiInfo
Implementation
BMFTaxiInfo.fromMap(Map map)
: assert(map != null,
'Construct a BMFTaxiInfo,The parameter map cannot be null !') {
desc = map['desc'];
distance = map['distance'];
duration = map['duration'];
perKMPrice = map['perKMPrice'];
startPrice = map['startPrice'];
totalPrice = map['totalPrice'];
}