getTaskControlsByTriggerId method

Set<TaskControl> getTaskControlsByTriggerId(
  1. int triggerId
)
inherited

Gets all conditions which control that tasks get started or stopped on devices in this protocol by the trigger with triggerId.

Throws an error if a trigger with triggerId is not defined in this study protocol.

Implementation

Set<TaskControl> getTaskControlsByTriggerId(int triggerId) =>
    getTaskControls(triggers['$triggerId']!);