getFileStorageReference method

FileStorageReference getFileStorageReference([
  1. int id = -1,
  2. String? studyId
])

Get a FileStorageReference that reference a file with id for the study with id studyId. id can be omitted if a local file is not uploaded yet. studyId can be omitted if specified as part of this service's study.

Implementation

FileStorageReference getFileStorageReference([
  int id = -1,
  String? studyId,
]) =>
    FileStorageReference._(this, getStudyId(studyId), id);