MoodleTaskType enum
The type of a MoodleTask.
Values
- required → const MoodleTaskType
-
The task is required to pass the course.
const MoodleTaskType(_required)
- optional → const MoodleTaskType
-
The task isn't required to pass the course but can be done for extra credit.
const MoodleTaskType(_optional)
- exam → const MoodleTaskType
-
The task is an exam.
const MoodleTaskType(_exam)
- participation → const MoodleTaskType
-
The task is a participation grade for classwork.
const MoodleTaskType(_participation)
- none → const MoodleTaskType
-
The task has no effect whatsoever on the course grade.
const MoodleTaskType(_none)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translate → Translator
-
Translates the type to a string based on the BuildContext.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MoodleTaskType> - A constant List of the values in this enum, in order of their declaration.