ComposableEventReducer<TEvent, TState> class

Implemented types

Constructors

ComposableEventReducer([Map<Type, EventReducer<TEvent, TState>>? reducerByEventType])

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reduce(TEvent event, TState state) → TState
Returns a new state with the event applied to it. The original state is not modified.
override
register<TConcreteEvent extends TEvent>(EventReducer<TConcreteEvent, TState> eventReducer) → void
toString() String
A string representation of this object.
inherited

Operators

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