token property

Future<T?> token

Returns the current token.

Implementation

Future<T?> get token async {
  if (_authenticationStatus != AuthenticationStatus.initial) return _token;
  await authenticationStatus.first;
  return _token;
}