moveToTrash method

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

Implementation

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