getDownloadsDirectory method

Future<String> getDownloadsDirectory()

Get the downloads directory

Implementation

Future<String> getDownloadsDirectory() async {
  _ensureInitialized();
  return path.join(_baseDirectory!.path, 'Downloads');
}