ProjectBeneficiarySearchModel.ignoreDeleted constructor

  1. @MappableConstructor()
ProjectBeneficiarySearchModel.ignoreDeleted({
  1. List<String>? id,
  2. List<String>? projectId,
  3. List<String>? beneficiaryId,
  4. List<String>? tag,
  5. List<String>? beneficiaryClientReferenceId,
  6. DateTime? beneficiaryRegistrationDateLte,
  7. DateTime? beneficiaryRegistrationDateGte,
  8. int? offset,
  9. int? limit,
  10. List<String>? clientReferenceId,
  11. String? tenantId,
  12. int? dateOfRegistration,
  13. String? boundaryCode,
})

Implementation

@MappableConstructor()
ProjectBeneficiarySearchModel.ignoreDeleted({
  this.id,
  this.projectId,
  this.beneficiaryId,
  this.tag,
  this.beneficiaryClientReferenceId,
  this.beneficiaryRegistrationDateLte,
  this.beneficiaryRegistrationDateGte,
  this.offset,
  this.limit,
  this.clientReferenceId,
  this.tenantId,
  int? dateOfRegistration,
  super.boundaryCode,
})  : dateOfRegistrationTime = dateOfRegistration == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(dateOfRegistration),
      super(isDeleted: false);