updateDataEncryptionKey method

Future<void> updateDataEncryptionKey()

A data key used to encrypt user data and are automatically generated by the system. To prevent from being cracked when using one key for a long time, you can call this method to update the data key.


Future<void> updateDataEncryptionKey() async {
  try {
    return await _methodChannel.invokeMethod<void>(
      <String, dynamic>{},
  } catch (e) {
    throw AGConnectCloudDBException.from(e);