before method

  1. @override
Future<Action?> before(
  1. Action action
)
override

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