IndividualModel constructor

IndividualModel({
  1. IndividualAdditionalFields? additionalFields,
  2. String? id,
  3. String? individualId,
  4. String? userId,
  5. String? userUuid,
  6. String? dateOfBirth,
  7. String? mobileNumber,
  8. String? altContactNumber,
  9. String? email,
  10. String? fatherName,
  11. String? husbandName,
  12. String? photo,
  13. bool? nonRecoverableError = false,
  14. required String clientReferenceId,
  15. String? tenantId,
  16. int? rowVersion,
  17. NameModel? name,
  18. BloodGroup? bloodGroup,
  19. List<AddressModel>? address,
  20. Gender? gender,
  21. List<IdentifierModel>? identifiers,
  22. AuditDetails? auditDetails,
  23. ClientAuditDetails? clientAuditDetails,
  24. bool? isDeleted = false,
})

Implementation

IndividualModel({
  this.additionalFields,
  this.id,
  this.individualId,
  this.userId,
  this.userUuid,
  this.dateOfBirth,
  this.mobileNumber,
  this.altContactNumber,
  this.email,
  this.fatherName,
  this.husbandName,
  this.photo,
  this.nonRecoverableError = false,
  required this.clientReferenceId,
  this.tenantId,
  this.rowVersion,
  this.name,
  this.bloodGroup,
  this.address,
  this.gender,
  this.identifiers,
  super.auditDetails,super.clientAuditDetails,
  super.isDeleted = false,
}): super();