Exam class
- Annotations
-
- @freezed
Constructors
-
Exam({required String id, required String name, required DateTime start, required DateTime end, @Default('') String description, required Object content, required Certificate certificate, @Default(ExamStatus.preparing) ExamStatus status, @Default(QuizStatus.unfinished) QuizStatus statusValidation, required List<
DateTime> statusChanges}) -
constfactory
- Exam.fromJson(Json json)
-
factory
Properties
- certificate → Certificate
-
no setterinherited
- content → Object
-
no setterinherited
-
copyWith
→ $ExamCopyWith<
Exam> -
no setterinherited
- description → String
-
no setterinherited
- end → DateTime
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- name → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → DateTime
-
no setterinherited
- status → ExamStatus
-
no setterinherited
-
statusChanges
→ List<
DateTime> -
no setterinherited
- statusValidation → QuizStatus
-
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