moveAssetToAnother method

Future<bool> moveAssetToAnother({
  1. required AssetEntity entity,
  2. required AssetPathEntity target,
})

Implementation

Future<bool> moveAssetToAnother({
  required AssetEntity entity,
  required AssetPathEntity target,
}) async {
  if (!Platform.isAndroid) {
    assert(Platform.isAndroid);
    return false;
  }

  return _plugin.androidMoveAssetToPath(entity, target);
}