PubSubTrigger constructor

PubSubTrigger({
  1. Iterable<Topic>? topics,
})

Implementation

factory PubSubTrigger({
  $core.Iterable<$2.Topic>? topics,
}) {
  final _result = create();
  if (topics != null) {
    _result.topics.addAll(topics);
  }
  return _result;
}