AggregateMiddleware<T> class
Aggregate middleware - combine multiple middlewares.
Applies a list of middlewares in sequence.
- Inheritance
-
- Object
- SignalMiddleware<
T> - AggregateMiddleware
Constructors
-
AggregateMiddleware(List<
SignalMiddleware< middlewares)T> > -
Creates an aggregate middleware with the given list of
middlewares.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
middlewares
→ List<
SignalMiddleware< T> > -
The list of middlewares to apply in order.
final
- 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
-
process(
T oldValue, T newValue) → T -
Processes the value through each middleware in the list sequentially.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited