localPath property

Future<String?> get localPath

Return the local path location.

Implementation

static Future<String?> get localPath async {
  if (_path == null) {
    final directory = await getApplicationDocumentsDirectory();
    _path = directory.path;
  }
  return _path;
}