rootPath property

Future<String> get rootPath

Root directory for the current application. Equivalent to getApplicationDocumentsDirectory().path.

Implementation

Future<String> get rootPath async {
  _rootPath ??= (await getApplicationDocumentsDirectory()).path;
  return _rootPath!;
}