ProjectStaffSearchModel.ignoreDeleted constructor

  1. @MappableConstructor()
ProjectStaffSearchModel.ignoreDeleted({
  1. String? id,
  2. List<String>? staffId,
  3. String? userId,
  4. List<String>? projectId,
  5. String? tenantId,
  6. int? startDate,
  7. int? endDate,
  8. String? boundaryCode,
})

Implementation

@MappableConstructor()
ProjectStaffSearchModel.ignoreDeleted({
  this.id,
  this.staffId,
  this.userId,
  this.projectId,
  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);