clearCachedDeviceKeyAndPassword method
This is used to clear the device key info from local storage
Implementation
Future<void> clearCachedDeviceKeyAndPassword() async {
final deviceKeyKey = '$keyPrefix.deviceKey';
final randomPasswordKey = '$keyPrefix.randomPasswordKey';
final deviceGroupKeyKey = '$keyPrefix.deviceGroupKey';
await Future.wait([
storage.removeItem(deviceKeyKey),
storage.removeItem(randomPasswordKey),
storage.removeItem(deviceGroupKeyKey),
]);
}