RPAppTask constructor
RPAppTask({})
Implementation
RPAppTask({
super.name,
List<Measure>? measures,
required super.type,
super.title,
super.description,
super.instructions,
super.minutesToComplete,
super.expire,
super.notification,
required this.rpTask,
}) {
// Add the survey as a measure type to be collected and later uploaded
// - issue #342
super.measures = (measures ?? [])
..add(Measure(type: SurveySamplingPackage.SURVEY));
}