TaskSearchModel.ignoreDeleted constructor

  1. @MappableConstructor()
TaskSearchModel.ignoreDeleted({
  1. List<String>? id,
  2. String? projectId,
  3. List<String>? projectBeneficiaryId,
  4. List<String>? projectBeneficiaryClientReferenceId,
  5. String? createdBy,
  6. String? status,
  7. int? offset,
  8. int? limit,
  9. List<String>? clientReferenceId,
  10. String? tenantId,
  11. int? plannedStartDate,
  12. int? plannedEndDate,
  13. int? actualStartDate,
  14. int? actualEndDate,
  15. String? boundaryCode,
})

Implementation

@MappableConstructor()
TaskSearchModel.ignoreDeleted({
  this.id,
  this.projectId,
  this.projectBeneficiaryId,
  this.projectBeneficiaryClientReferenceId,
  this.createdBy,
  this.status,
  this.offset,
  this.limit,
  this.clientReferenceId,
  this.tenantId,
  int? plannedStartDate,
  int? plannedEndDate,
  int? actualStartDate,
  int? actualEndDate,
  super.boundaryCode,
})  : plannedStartDateTime = plannedStartDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(plannedStartDate),
      plannedEndDateTime = plannedEndDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(plannedEndDate),
      actualStartDateTime = actualStartDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(actualStartDate),
      actualEndDateTime = actualEndDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(actualEndDate),
      super(isDeleted: false);