RehabilitationEvent class

Annotations

Constructors

RehabilitationEvent.endExercise()
運動の終了 6セットの運動すべて終了
const
factory
RehabilitationEvent.endInit()
const
factory
RehabilitationEvent.endSection()
運動セクションの終了
const
factory
RehabilitationEvent.startExerciseSection(SetSectionIndex sectionIndex, ExerciseModel exercise)
セクションの開始
const
factory
RehabilitationEvent.startRestSection(SetSectionIndex sectionIndex)
セクションの開始
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult endInit(_EndInit value), required TResult endExercise(_EndExercise value), required TResult startExerciseSection(_StartExerciseSection value), required TResult startRestSection(_StartRestSection value), required TResult endSection(_EndSection value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? endInit(_EndInit value)?, TResult? endExercise(_EndExercise value)?, TResult? startExerciseSection(_StartExerciseSection value)?, TResult? startRestSection(_StartRestSection value)?, TResult? endSection(_EndSection value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult endInit(_EndInit value)?, TResult endExercise(_EndExercise value)?, TResult startExerciseSection(_StartExerciseSection value)?, TResult startRestSection(_StartRestSection value)?, TResult endSection(_EndSection value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult endInit()?, TResult endExercise()?, TResult startExerciseSection(SetSectionIndex sectionIndex, ExerciseModel exercise)?, TResult startRestSection(SetSectionIndex sectionIndex)?, TResult endSection()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult endInit(), required TResult endExercise(), required TResult startExerciseSection(SetSectionIndex sectionIndex, ExerciseModel exercise), required TResult startRestSection(SetSectionIndex sectionIndex), required TResult endSection()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? endInit()?, TResult? endExercise()?, TResult? startExerciseSection(SetSectionIndex sectionIndex, ExerciseModel exercise)?, TResult? startRestSection(SetSectionIndex sectionIndex)?, TResult? endSection()?}) → TResult?
inherited

Operators

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