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 setteroverride
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 and to are provided - returns true when state did change from to to.
  • When only from is provided - returns true when state did change from from.
  • When only to is provided - returns true when state did change to to.
  • When from and to equals null - returns true for any state change.
  • 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.
    override