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; }