IndicatorStateChange class
Describes IndicatorState change.
- Annotations
Constructors
- IndicatorStateChange(IndicatorState currentState, IndicatorState newState)
-
const
Properties
- currentState → IndicatorState
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- newState → IndicatorState
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
didChange(
{IndicatorState? from, IndicatorState? to}) → bool -
- When
from
andto
are provided - returnstrue
when state did changefrom
toto
.- When only
from
is provided - returnstrue
when state did change fromfrom
.- When only
to
is provided - returnstrue
when state did change toto
.- When
from
andto
equalsnull
- returnstrue
for any state change. - When
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited