getTokenInfoCancelable method
Cancelable version of getTokenInfo. See that method for more information.
Implementation
CancelableOperation<OAuthUserTokenInfo> getTokenInfoCancelable() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_OAuthUserCredential_getTokenInfoAsync(
_handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsOAuthUserTokenInfo()!);
}