revokeTokenCancelable method

CancelableOperation<void> revokeTokenCancelable()

Cancelable version of revokeToken. See that method for more information.

Implementation

CancelableOperation<void> revokeTokenCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OAuthUserCredential_revokeTokenAsync(
        _handle, errorHandler);
  });
  return taskHandle.toCancelableOperation((_) {});
}