add method
- required ArcGISCredential credential,
Adds the specified credential to the ArcGISCredentialStore. The credential's server context is used to determine what services the credential can be shared with.
If a credential for the same server context is already in the store, then it will be replaced.
Parameters:
credential
— The credential to be stored within ArcGISCredentialStore.
Implementation
void add({
required ArcGISCredential credential,
}) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ArcGISCredentialStore_add(
_handle,
credential._handle,
errorHandler,
);
});
}