Test class
- Annotations
-
- @freezed
Constructors
-
Test({required String id, required String name, required DateTime start, required DateTime end, @Default('') String description, required Object content, required Ability ability, @Default(TestStatus.preparing) TestStatus status, @Default(QuizStatus.unfinished) QuizStatus statusValidation, required List<
DateTime> statusChanges}) -
constfactory
- Test.fromJson(Json json)
-
factory
Properties
- ability → Ability
-
no setterinherited
- content → Object
-
no setterinherited
-
copyWith
→ $TestCopyWith<
Test> -
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 → TestStatus
-
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