StateTransitionListener<T extends AuthController> typedef Null safety

StateTransitionListener<T extends AuthController> = void Function(AuthState oldState, AuthState newState, T controller)

Implementation

typedef StateTransitionListener<T extends AuthController> = void Function(
  AuthState oldState,
  AuthState newState,
  T controller,
);