createCancelable static method
Cancelable version of create. See that method for more information.
Implementation
static Future<CancelableOperation<TokenCredential>> createCancelable(
{required Uri uri,
required String username,
required String password,
int tokenExpirationInterval = 0}) async {
await _packageInfoCompleter.future;
return _createCancelable(
uri: uri,
username: username,
password: password,
tokenExpirationInterval: tokenExpirationInterval);
}