Workout class

Base class for flutter_workout

Constructors

Workout()
Create a Workout

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<WorkoutReading>
A stream of WorkoutReading collected by the workout session
no setter

Methods

getSupportedExerciseTypes() Future<List<ExerciseType>>
Wear OS: The supported ExerciseTypes of the device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start({required ExerciseType exerciseType, required List<WorkoutFeature> features, bool enableGps = false}) Future<WorkoutStartResult>
Starts a workout session with the specified features enabled
stop() Future<void>
Stops the workout session and sensor data collection
toString() String
A string representation of this object.
inherited

Operators

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