setDefaultKeyId method

Future<void> setDefaultKeyId(
  1. String keyId
)

Implementation

Future<void> setDefaultKeyId(String keyId) async {
  await client.setAccountData(
    client.userID!,
    EventTypes.SecretStorageDefaultKey,
    SecretStorageDefaultKeyContent(key: keyId).toJson(),
  );
}