GradeScaleRef class

The level of a GradeScale a climb was logged on.

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

GradeScaleRef({required String id, required int level})
Creates a new GradeScaleRef instance
GradeScaleRef.fromJson(Map<String, dynamic> json)
Creates a GradeScaleRef from JSON
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The id of the scale, as listed in the location's grade scales.
final
level → int
The level number within the scale, from 1 (easiest).
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
toJson() → Map<String, dynamic>
Converts this GradeScaleRef to JSON
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited