findLocalPath method
The findLocalPath defines the path based on the platform
Implementation
@override
Future<String?> findLocalPath() async {
if (Platform.isAndroid) {
return "/storage/emulated/0/Download";
} else {
var directory = await getApplicationDocumentsDirectory();
return '${directory.path}${Platform.pathSeparator}Download';
}
}