BMFOpenTruckNaviOption.fromMap constructor Null safety
- Map map
map => BMFOpenTruckNaviOption
Implementation
BMFOpenTruckNaviOption.fromMap(Map map) : super.fromMap(map) {
height = map['height'] as double;
width = map['width'] as double;
weight = map['weight'] as double;
length = map['length'] as double;
axleWeight = map['axleWeight'] as double;
axleCount = map['axleCount'] as int;
isTrailer = map['isTrailer'] as bool;
plateProvince = map['plateProvince'];
plateNumber = map['plateNumber'];
plateColor = map['plateColor'] as int;
displacement = map['displacement'] as double;
powerType = map['powerType'] as int;
emissionLimit = map['emissionLimit'] as int;
loadWeight = map['loadWeight'] as bool;
}