moveToTrash method

Future<List<String>> moveToTrash(
  1. List<AssetEntity> list
)

Implementation

Future<List<String>> moveToTrash(List<AssetEntity> list) async {
  final List result = await _channel.invokeMethod(
    PMConstants.mMoveToTrash,
    <String, dynamic>{'ids': list.map((e) => e.id).toList()},
  );
  return result.cast();
}