setVerified method

  1. @override
Future<void> setVerified(
  1. bool newVerified, [
  2. bool sign = true
])
override

Implementation

@override
Future<void> setVerified(bool newVerified, [bool sign = true]) async {
  if (!isValid) {
    //throw Exception('setVerified called on invalid key');
    return;
  }
  await super.setVerified(newVerified, sign);
  await client.database
      ?.setVerifiedUserDeviceKey(newVerified, userId, deviceId!);
}