Segment class

Constructors

Segment({num? distance, num? duration, List<StepWay>? steps, num? ascent, num? descent})
Segment.fromMap(Map<String, dynamic> json)
factory

Properties

ascent num?
getter/setter pair
descent num?
getter/setter pair
distance num?
getter/setter pair
duration num?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<StepWay>?
getter/setter pair

Methods

copyWith({num? distance, num? duration, List<StepWay>? steps, num? ascent, num? descent}) Segment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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