TimerSignal class
Constructors
- TimerSignal.new(Duration duration, {int? maxDuration, int? initial})
Properties
- duration → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSlots → bool
-
Has slot
no setterinherited
- maxDuration → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slots
→ Set<
Slot> -
Slots
finalinherited
- value ↔ int
-
Your value.
If you use as a setter notify listeners
getter/setter pairinherited
Methods
-
addSlot(
Slot< int> slot) → void -
Add new slot
inherited
-
clearSlots(
) → void -
Clear all slots
inherited
-
combineWith(
List< Signal> signals) → Signal -
Listen any changes this and
notifiers
any changesinherited -
convert<
T> (T map(int)) → Signal< T> -
Map signal
inherited
-
emit(
) → void -
Sign to all slots
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeSlot(
Slot< int> slot) → void -
Remove slot
inherited
-
reset(
) → void -
restart(
) → void -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited