Grade class
This class represents a Grade, it's system agnostic, all grading systems use this class to represent it's grades
Constructors
- Grade({required String name, required DifficultyRange difficultyRange, required GradeBand gradeBand})
-
Grade.fromJson(Map<
String, dynamic> data) -
Factory to instantiate a Grade from JSON
factory
Properties
- difficultyRange → DifficultyRange
-
Range of difficulty for this grade
final
- gradeBand → GradeBand
-
The grade band this grade belongs to
Take a look at the GradeBand enum to see the available options
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name/identifier for this grade
IE: 6a+, v12, 5.12D, etc...
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited