destroyStoredEncKey method

Future<bool> destroyStoredEncKey()

Remove the key from storage - backup will continue to work fine though

Implementation

Future<bool> destroyStoredEncKey() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._backupManagerDestroyStoredEncKey(tmp0);
  final tmp3 = tmp1;
  final ffi.Pointer<ffi.Void> tmp3_0 = ffi.Pointer.fromAddress(tmp3);
  final tmp3_1 = _Box(
    _api,
    tmp3_0,
    "__BackupManager_destroy_stored_enc_key_future_drop",
  );
  tmp3_1._finalizer = _api._registerFinalizer(tmp3_1);
  final tmp2 = _nativeFuture(
    tmp3_1,
    _api.__backupManagerDestroyStoredEncKeyFuturePoll,
  );
  return tmp2;
}