Assignment constructor
const
Assignment({
- required String id,
- @Default(null) String? v,
- required String title,
- @Default('') String description,
- required DateTime start,
- required DateTime end,
- required List<
Object> requirements, - @Default(true) bool isIncludeStartTime,
- @Default(true) bool isIncludeEndTime,
- @Default(true) bool isRequirementSequenced,
- required AssignmentStatus statusManager,
- required TaskStatus statusAudience,
- required List<
DateTime> statusChanges, - @Default(null) Object? attachment,
Implementation
const factory Assignment({
required String id,
@Default(null) String? v,
required String title,
@Default('') String description,
required DateTime start,
required DateTime end,
required List<Object> requirements,
@Default(true) bool isIncludeStartTime,
@Default(true) bool isIncludeEndTime,
@Default(true) bool isRequirementSequenced,
required AssignmentStatus statusManager,
required TaskStatus statusAudience,
required List<DateTime> statusChanges,
@Default(null) Object? attachment,
}) = _Assignment;