ThumperState<E> class

ThumperState

The E is some instance that came from the Iterable

Annotations

Constructors

ThumperState(Frequency frequency, Power power, E thing, [int thumpCount = 0])
Make a new state.
const
ThumperState.init(E e, Frequency s)
Make an initial state.
factory

Properties

frequency → Frequency
The current frequency.
final
hashCode int
The hash code for this object.
no setteroverride
power → Power
Current power setting (reset, idle, running).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thing → E
The current instance of E from the iterator.
final
thumpCount int
How many thumps since the last reset?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() ThumperState<E>
Make a paused version of this.
resume() ThumperState<E>
Make a resumed version of this.
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override