IUpdate<State, Msg, Effect> class abstract interface

Interface for implementing the update function.

Provides a callable structure for state updates, mirroring the functionality of the Update typedef with an object-oriented design. But you better does not use it.

  • State: The type representing the feature's state.
  • Msg: The type representing messages that trigger state changes.
  • Effect: The type of side effects triggered during the update.
Annotations
  • @experimental

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(State state, Msg message) Next<State, Effect>
Processes the current state and an incoming message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited