Assignment class

Annotations
  • @freezed

Constructors

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})
const
factory
Assignment.fromJson(Json json)
factory

Properties

attachment Object?
no setterinherited
copyWith → $AssignmentCopyWith<Assignment>
no setterinherited
description String
no setterinherited
end DateTime
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isIncludeEndTime bool
no setterinherited
isIncludeStartTime bool
no setterinherited
isRequirementSequenced bool
no setterinherited
requirements List<Object>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime
no setterinherited
statusAudience TaskStatus
no setterinherited
statusChanges List<DateTime>
no setterinherited
statusManager AssignmentStatus
no setterinherited
title String
no setterinherited
v String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited