DiagnosticCycleState class

Constructors

DiagnosticCycleState({required DiagnosticCycleType type, required DiagnosticCycleStatus status, required int durationMinutes, required DateTime? exerciseStartTime})
const
DiagnosticCycleState.initial({required DiagnosticCycleType type, required int durationMinutes})
factory

Properties

canEditDuration bool
no setter
durationMinutes int
final
exerciseStartTime DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
isComplete bool
no setter
isRunning bool
no setter
isSkipped bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status DiagnosticCycleStatus
final
type DiagnosticCycleType
final

Methods

copyWith({DiagnosticCycleType? type, DiagnosticCycleStatus? status, int? durationMinutes, DateTime? exerciseStartTime, bool clearExerciseStartTime = false}) DiagnosticCycleState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remainingSeconds(DateTime now) int
toString() String
A string representation of this object.
inherited

Operators

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