share method

Future<void> share(
  1. UDownloadTask task
)

Implementation

Future<void> share(UDownloadTask task) async {
  final String? path = await _plainLocation(task);
  if (path == null) return;
  await UShare.file(path: path, fileName: task.fileName);
}