SpeedExMiddleware typedef

SpeedExMiddleware = FutureOr<void> Function(String key, dynamic oldValue, dynamic newValue)

Function signature for SpeedEx middleware.

Middleware functions are called before a state change occurs and can perform side effects or modify the new value before it's set.

Implementation

typedef SpeedExMiddleware = FutureOr<void> Function(
    String key, dynamic oldValue, dynamic newValue);