OCRResponse constructor Null safety

const OCRResponse(
  1. {required String birthDate,
  2. required String placeOfBirth,
  3. required String category,
  4. required String expeditionCity,
  5. required String expeditionState,
  6. required String expeditionDate,
  7. required String expirationDate,
  8. required String fatherName,
  9. required String motherName,
  10. required String firstLicenseDate,
  11. required String name,
  12. required String rg,
  13. required String code,
  14. required String registrationNumber,
  15. required String renach,
  16. required String securityCode,
  17. required String mirrorNumber,
  18. required String observation}
)

Implementation

const OCRResponse({
  required this.birthDate,
  required this.placeOfBirth,
  required this.category,
  required this.expeditionCity,
  required this.expeditionState,
  required this.expeditionDate,
  required this.expirationDate,
  required this.fatherName,
  required this.motherName,
  required this.firstLicenseDate,
  required this.name,
  required this.rg,
  required this.code,
  required this.registrationNumber,
  required this.renach,
  required this.securityCode,
  required this.mirrorNumber,
  required this.observation,
});