TriggerAction constructor

TriggerAction({
  1. TriggerType? triggerType,
  2. Iterable<Action>? actions,
})

Implementation

factory TriggerAction({
  TriggerType? triggerType,
  $core.Iterable<Action>? actions,
}) {
  final $result = create();
  if (triggerType != null) {
    $result.triggerType = triggerType;
  }
  if (actions != null) {
    $result.actions.addAll(actions);
  }
  return $result;
}