filename method

String filename(
  1. String studyId
)

The path and filename of the protocol with studyId, on the format

<localApplicationPath>/protocols/protocol-<study_id>.json

See Settings.localApplicationPath.

Implementation

String filename(String studyId) => '${Settings().localApplicationPath}/protocols/protocol-$studyId.json';