process method
- T oldValue,
- T newValue
override
Processes the value through each middleware in the list sequentially.
Implementation
@override
/// Processes the value through each middleware in the list sequentially.
T process(T oldValue, T newValue) {
T result = newValue;
for (final middleware in middlewares) {
result = middleware.process(oldValue, result);
}
return result;
}