downloadsPath property

Future<String?> get downloadsPath

Returns the absolute path string of the downloads directory, or null if not available.

Implementation

static Future<String?> get downloadsPath async =>
    (await pp.getDownloadsDirectory())?.path;