patient_info.g.dart 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'patient_info.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. PatientInfo _$PatientInfoFromJson(Map<String, dynamic> json) => PatientInfo(
  7. appUserPatientsId: json['appUserPatientsId'] as String?,
  8. relationship: json['relationship'] as String?,
  9. patientName: json['patientName'] as String?,
  10. patientNamePic: json['patientNamePic'] as String?,
  11. identificationCard: json['identificationCard'] as String?,
  12. sex: (json['sex'] as num?)?.toInt(),
  13. age: (json['age'] as num?)?.toInt(),
  14. isDefault: (json['isDefault'] as num?)?.toInt(),
  15. );
  16. Map<String, dynamic> _$PatientInfoToJson(PatientInfo instance) =>
  17. <String, dynamic>{
  18. 'appUserPatientsId': instance.appUserPatientsId,
  19. 'relationship': instance.relationship,
  20. 'patientName': instance.patientName,
  21. 'patientNamePic': instance.patientNamePic,
  22. 'identificationCard': instance.identificationCard,
  23. 'sex': instance.sex,
  24. 'age': instance.age,
  25. 'isDefault': instance.isDefault,
  26. };