signInAnonymously method

Future<void> signInAnonymously()

Implementation

Future<void> signInAnonymously() async {
  _log.logTyped(AuthRepositoryLog('signInAnonymously()'));
  try {
    await _authService.signInAnonymously();
  } catch (err) {
    if (err is AuthServiceException) {
      _log.logTyped(
        AuthRepositoryLog(
          'signInAnonymously() - failed',
          err.message,
          StackTrace.current,
        ),
      );
      rethrow;
    }
  }
}