cawsPath property
String
get
cawsPath
The full CARP Web Service (CAWS) path to this document.
If the id of this document is known, use the documents CARP endpoint,
otherwise use the collections endpoint.
Implementation
String get cawsPath => (_id != null)
? "/api/studies/$studyId/documents/$id"
: "/api/studies/$studyId/collections/$path";