setVerifiedUserDeviceKey method

  1. @override
Future<void> setVerifiedUserDeviceKey(
  1. bool verified,
  2. String userId,
  3. String deviceId
)
override

Implementation

@override
Future<void> setVerifiedUserDeviceKey(
    bool verified, String userId, String deviceId) async {
  final raw =
      await _userDeviceKeysBox.get(MultiKey(userId, deviceId).toString());
  raw['verified'] = verified;
  await _userDeviceKeysBox.put(
    MultiKey(userId, deviceId).toString(),
    raw,
  );
  return;
}