before method
Called before action execution
Implementation
@override
Future<Action?> before(Action action) async {
// Use debugPrint instead of print for production code
debugPrint('🔵 [Middleware] Before: ${action.type}');
return action;
}
Called before action execution
@override
Future<Action?> before(Action action) async {
// Use debugPrint instead of print for production code
debugPrint('🔵 [Middleware] Before: ${action.type}');
return action;
}