TruckInfo.fromJson constructor
Implementation
factory TruckInfo.fromJson(Map<String, dynamic> json) {
return TruckInfo(
plateProvince: json['plateProvince'] as String?,
plateNumber: json['plateNumber'] as String?,
truckAxis: json['truckAxis'] as double?,
truckHeight: json['truckHeight'] as double?,
truckWidth: json['truckWidth'] as double?,
truckLoad: json['truckLoad'] as double?,
truckWeight: json['truckWeight'] as double?,
);
}