ExplorerSegment class

Annotations
  • @JsonSerializable.new()

Constructors

ExplorerSegment({int? id, int? resourceState, String? name, int? climbCategory, String? climbCategoryDesc, double? avgGrade, List<double>? startLatlng, List<double>? endLatlng, double? elevDifference, double? distance, String? points, bool? starred})
ExplorerSegment.fromJson(Map<String, dynamic> json)
factory

Properties

avgGrade ↔ double?
The segment's average grade, in percents.
getter/setter pair
climbCategory ↔ int?
The category of the climb 0, 5. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. If climb_category = 5, climb_category_desc = HC. If climb_category = 2, climb_category_desc = 3. (From Strava's reference documentation...)
getter/setter pair
climbCategoryDesc ↔ String?
The description for the category of the climb May take one of the following values: NC, 4, 3, 2, 1, HC
getter/setter pair
distance ↔ double?
The segment's distance, in meters.
getter/setter pair
elevDifference ↔ double?
The segments's evelation difference, in meters.
getter/setter pair
endLatlng ↔ List<double>?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
getter/setter pair
name ↔ String?
getter/setter pair
points ↔ String?
getter/setter pair
resourceState ↔ int?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
starred ↔ bool?
getter/setter pair
startLatlng ↔ List<double>?
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 ==(Object other) → bool
The equality operator.
inherited