BarcodeVehicleClassInfo constructor
BarcodeVehicleClassInfo(
- Map<String, dynamic> nativeVehicleClassInfo
)
Implementation
BarcodeVehicleClassInfo(Map<String, dynamic> nativeVehicleClassInfo) {
this.licenceType = nativeVehicleClassInfo['licenceType'];
this.vehicleClass = nativeVehicleClassInfo['vehicleClass'];
this.effectiveDate = nativeVehicleClassInfo['effectiveDate'] != null ? Date(Map<String, dynamic>.from(nativeVehicleClassInfo['effectiveDate'])) : null;
this.expiryDate = nativeVehicleClassInfo['expiryDate'] != null ? Date(Map<String, dynamic>.from(nativeVehicleClassInfo['expiryDate'])) : null;
}