ScheduleAction class

Represents an action to set the exercise schedule to the given values.

Inheritance

Constructors

ScheduleAction({required ExerciseFrequency frequency, required DateTime nextStart, required ExerciseMode mode, required Duration? duration})
const

Properties

duration Duration?
final
frequency ExerciseFrequency
final
hashCode int
The hash code for this object.
no setterinherited
mode ExerciseMode
final
name String
no setteroverride
nextPage RemoteExercisePage?
no setteroverride
nextStart DateTime
final
params Map<String, Object?>?
no setteroverride
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

buildErrorMessage(BuildContext context) Widget
override
call(BuildContext context, int deviceId) Future<void>
override
fullRefreshExerciseSchedule(BuildContext context, int deviceId) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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