store method
Stores credential parameters into the store.
correlationId
(optional) transaction id to trace execution through call chain.key
a key to uniquely identify the credential parameters.credential
a credential parameters to be stored. Return Future that receives an null for success. Throw error
Implementation
@override
Future store(
String? correlationId, String key, CredentialParams? credential) async {
if (credential != null) {
_items[key] = credential;
} else {
_items.remove(key);
}
}