SwimBikeRunWorkout class
Represents a swim bike run workout
Constructors
-
SwimBikeRunWorkout({required List<
MultisportActivity> activities, String? displayName}) - Creates a new swim bike run workout
Properties
-
activities
→ List<
MultisportActivity> -
The activities of the workout
final
- displayName → String?
-
The display name of the workout (optional)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workoutType → WorkoutType
-
The type of workout this represents
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the workout to a JSON object
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → SwimBikeRunWorkout - Creates a new swim bike run workout from a JSON object