VehicleClassInfo constructor

VehicleClassInfo(
  1. Map<String, dynamic> nativeVehicleClassInfo
)

Implementation

VehicleClassInfo(Map<String, dynamic> nativeVehicleClassInfo) {
     this.licenceType = createStringResult(nativeVehicleClassInfo,'licenceType');
     this.vehicleClass = createStringResult(nativeVehicleClassInfo,'vehicleClass');
     this.effectiveDate = nativeVehicleClassInfo['effectiveDate'] != null ? DateResult(Map<String, dynamic>.from(nativeVehicleClassInfo['effectiveDate'])) : null;
     this.expiryDate = nativeVehicleClassInfo['expiryDate'] != null ? DateResult(Map<String, dynamic>.from(nativeVehicleClassInfo['expiryDate'])) : null;
 }