androidMoveAssetToPath method

Future<bool> androidMoveAssetToPath(
  1. AssetEntity entity,
  2. AssetPathEntity target
)
inherited

Implementation

Future<bool> androidMoveAssetToPath(
  AssetEntity entity,
  AssetPathEntity target,
) async {
  final Map<dynamic, dynamic>? result = await _channel.invokeMethod(
    PMConstants.mMoveAssetToPath,
    <String, dynamic>{'assetId': entity.id, 'albumId': target.id},
  );
  return result != null;
}