filename property

Future<String?> filename

Current path and filename of the cached deployment file.

Implementation

Future<String?> get filename async {
  assert(studyDeploymentId != null,
      'Study Deployment ID is null -- cannot find cached file.');
  if (_filename == null) {
    String? path = await Settings().getCacheBasePath(studyDeploymentId!);
    _filename = '$path/deployment.json';
  }
  return _filename;
}