getApplicationSupportPath method
Path to a directory where the application may place application support files.
Implementation
@override
Future<String?> getApplicationSupportPath() async {
final String? path =
await _pathProvider.getDirectoryPath(DirectoryType.applicationSupport);
if (path != null) {
// Ensure the directory exists before returning it, for consistency with
// other platforms.
await Directory(path).create(recursive: true);
}
return path;
}