BarcodeVehicleClassInfo constructor

BarcodeVehicleClassInfo(
  1. 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;
 }