saveToDownloads static method
Android: copies sourcePath into the public Downloads collection through MediaStore
(or the legacy public directory below API 29). Returns the resulting content URI.
Implementation
static Future<String?> saveToDownloads({
required String sourcePath,
required String fileName,
String? mimeType,
String? subfolder,
}) => _call<String>("saveToDownloads", <String, Object?>{
"sourcePath": sourcePath,
"fileName": fileName,
"mimeType": mimeType,
"subfolder": subfolder,
});