UVehicleViolationDetailParams.fromMap constructor

UVehicleViolationDetailParams.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UVehicleViolationDetailParams.fromMap(Map<String, dynamic> json) => UVehicleViolationDetailParams(
  nationalCode: json["nationalCode"],
  phoneNumber: json["phoneNumber"],
  licencePlate: json["licencePlate"],
  refresh: json["refresh"] ?? false,
);