ClimbSection class
Climb section
Constructors
- ClimbSection({required int startDistanceM, required int endDistanceM, required double slope, required Grade grade})
-
ClimbSection.fromJson(Map<
String, dynamic> json) -
factory
Properties
- endDistanceM ↔ int
-
Distance in meters where this section ends.
getter/setter pair
- grade ↔ Grade
-
The grade value of this section.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slope ↔ double
-
Slope value.
getter/setter pair
- startDistanceM ↔ int
-
Distance in meters where this section starts.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant ClimbSection other) → bool -
The equality operator.
override