temporaryDirectory property
Returns a path to the temporary directory.
Implementation
Future<Directory> get temporaryDirectory async {
if (_temporaryDirectory != null) {
return _temporaryDirectory!;
}
_temporaryDirectory = Directory(
'${(await getTemporaryDirectory()).path}${Config.downloads}',
);
return _temporaryDirectory!;
}