downloadAppLogs method
Downloads the File with the stdout and stderr streams, if any.
Implementation
Future<void> downloadAppLogs() async {
// [File]s aren't available for Web platform.
if (PlatformUtils.isWeb) {
return;
}
final Directory library = await PlatformUtils.libraryDirectory;
await _download(File('${library.path}/app.log'));
}