CustomProtocolTask constructor

CustomProtocolTask({
  1. String? name,
  2. String? description,
  3. required String studyProtocol,
})

Create a task which is used in a custom protocol, specified as a string in studyProtocol.

Implementation

CustomProtocolTask({
  super.name,
  super.description,
  required this.studyProtocol,
  // The measures list is empty, since measures are defined in [studyProtocol]
  // in a different format.
}) : super(measures: []);