localApplicationPath property
Path to a directory where the application may place data that is user-generated.
Implementation
Future<String> get localApplicationPath async {
if (_localApplicationPath == null) {
final directory = await getApplicationDocumentsDirectory();
_localApplicationPath = directory.path;
}
return _localApplicationPath!;
}