GradeAxis class
The difficulty axis of the CrushLog Data Format.
Every grade of the five grading systems has an integer value on one
axis per discipline: Font and V-scale share the boulder axis; French,
YDS and UIAA share the route axis. A higher value is a harder grade.
The tables are part of the format (see grades.md in the specification),
so every reader and writer computes the same value.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
gradeFor(
GradeSystem system, int numeric) → String -
The grade of
systemnearest tonumeric. A value half way between two grades gives the easier one; a value outside the ladder gives its nearest end. -
ladder(
GradeSystem system) → List< String> -
The grades of
system, easiest first. -
numericFor(
GradeSystem system, String grade) → int? -
The value of
gradeon the difficulty axis, or null whengradeis not a grade ofsystem's ladder. Grade names are case sensitive.