ProjectSearchModel.ignoreDeleted constructor

  1. @MappableConstructor()
ProjectSearchModel.ignoreDeleted({
  1. String? id,
  2. String? projectTypeId,
  3. String? projectNumber,
  4. String? subProjectTypeId,
  5. bool? isTaskEnabled,
  6. String? parent,
  7. String? department,
  8. String? referenceId,
  9. String? tenantId,
  10. int? startDate,
  11. int? endDate,
  12. String? boundaryCode,
})

Implementation

@MappableConstructor()
ProjectSearchModel.ignoreDeleted({
  this.id,
  this.projectTypeId,
  this.projectNumber,
  this.subProjectTypeId,
  this.isTaskEnabled,
  this.parent,
  this.department,
  this.referenceId,
  this.tenantId,
  int? startDate,
  int? endDate,
  super.boundaryCode,
})  : startDateTime = startDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(startDate),
      endDateTime = endDate == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(endDate),
      super(isDeleted: false);