ProjectSearchModel constructor

ProjectSearchModel({
  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,
  13. bool? isDeleted = false,
})

Implementation

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