path property

Future<String> get path

The full path where data files are stored on the device.

Implementation

Future<String> get path async {
  if (_path == null) {
    final directory = await Directory(
            '${await Settings().getDeploymentBasePath(studyDeploymentId)}/${Settings.CARP_DATA_FILE_PATH}')
        .create(recursive: true);
    _path = directory.path;
  }
  return _path!;
}