prepareSaveDir method
This function handles the directory path for the file to be saved.
Implementation
@override
Future<Directory> prepareSaveDir() async {
var localPath = (await findLocalPath())!;
final savedDir = Directory(localPath);
bool hasExisted = await savedDir.exists();
if (!hasExisted) {
savedDir.create();
}
return savedDir;
}