VehicleDTO.fromJson constructor

VehicleDTO.fromJson(
  1. Map<String, dynamic> json
)

Implementation

VehicleDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  licensePlate = json['licensePlate'];
  brand = json['brand'];
  model = json['model'];
  year = json['year'];
  chauffeurName = json['chauffeurName'];
  chauffeurSurname = json['chauffeurSurname'];
  chauffeurPhoneNumber = json['chauffeurPhoneNumber'];
}