VehicleEstimation.fromJson constructor Null safety

VehicleEstimation.fromJson(
  1. Map json
)

Implementation

VehicleEstimation.fromJson(Map json) {
  vehicle = Vehicle.fromJson(json['vehicle']);
  estimation = Estimation.fromJson(json['estimation']);
}