DifficultyRange class
Defines a range of difficulty, it has a min difficulty and a max difficulty. Each Grade must define one to be able to convert from one grading system to another
Constructors
- DifficultyRange({required double min, required double max})
-
DifficultyRange.fromJson(Map<
String, dynamic> data) -
Factory to instantiate a DifficultyRange from JSON
factory
- DifficultyRange.single(double min)
Properties
Methods
-
inRangeOf(
DifficultyRange b) → bool - Checks if a DifficultyRange is in range of this DifficultyRange
-
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