setCredentialProperties method

Future<void> setCredentialProperties(
  1. AuthenticatorId authenticatorId,
  2. String credentialId, {
  3. bool? backupEligibility,
  4. bool? backupState,
})

Implementation

Future<void> setCredentialProperties(
    AuthenticatorId authenticatorId, String credentialId,
    {bool? backupEligibility, bool? backupState}) async {
  await _client.send('WebAuthn.setCredentialProperties', {
    'authenticatorId': authenticatorId,
    'credentialId': credentialId,
    if (backupEligibility != null) 'backupEligibility': backupEligibility,
    if (backupState != null) 'backupState': backupState,
  });
}