RefreshFailedCallback typedef

RefreshFailedCallback = FutureOr<void> Function(Object? error)

Signature for the callback invoked when a token refresh fails.

error is the exception thrown by the refresh call, or null when the refresh completed but returned no token.

Implementation

typedef RefreshFailedCallback = FutureOr<void> Function(Object? error);