StateChange class
Represents a state change
Constructors
- StateChange({required String key, required dynamic previousState, required dynamic currentState, required DateTime timestamp})
-
Creates a new StateChange instance
const
Properties
- currentState → dynamic
-
Current state value
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
Key identifying the state
final
- previousState → dynamic
-
Previous state value
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
Timestamp when the change occurred
final
Methods
-
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