getAllExpectedDataTypes method

Set<String> getAllExpectedDataTypes()
inherited

Get data types of all data which may be collected, either passively as part of task measures, or as the result of user interactions, for this task.

Always includes CarpDataTypes.COMPLETED_TASK.

Implementation

Set<String> getAllExpectedDataTypes() =>
    (measures?.map((measure) => measure.type).toSet() ?? {})..add(CarpDataTypes.COMPLETED_TASK);