Configuration class abstract
The class that represents the configuration that Pomodoro refers to at runtime.
Constructors
- Configuration()
-
The factory constructor.
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
-
getBreakMinutes(
) → int - Returns the break minutes.
-
getConcentrationMinutes(
) → int - Returns the concentration minutes.
-
getCountUntilLongerBreak(
) → int - Returns the count until longer break.
-
getLongerBreakMinutes(
) → int - Returns the longer break minutes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBreakMinutes(
int breakMinutes) → Configuration -
Sets the
breakMinutes
and returns this instance. -
setConcentrationMinutes(
int concentrationMinutes) → Configuration -
Sets the
concentrationMinutes
and returns this instance. -
setCountUntilLongerBreak(
int countUntilLongerBreak) → Configuration -
Sets the
countUntilLongerBreak
and returns this instance. -
setLongerBreakMinutes(
int longerBreakMinutes) → Configuration -
Sets the
longerBreakMinutes
and returns this instance. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited