getDownloadsDirectory method

Future<Directory?> getDownloadsDirectory()

iOS Linux macOS Windows

Implementation

Future<Directory?> getDownloadsDirectory() async =>
    isWeb || isAndroid ? null : await path.getDownloadsDirectory();