getDownloadsPath method

  1. @override
Future<String?> getDownloadsPath()
override

Path to the directory where downloaded files can be stored. This is typically only relevant on desktop operating systems.

Implementation

@override
Future<String?> getDownloadsPath() {
  return Future<String?>.value(xdg.getUserDirectory('DOWNLOAD')?.path);
}