StreamEventsRequest_Events constructor

StreamEventsRequest_Events({
  1. String? control,
  2. Iterable<String>? events,
  3. Iterable<String>? cancelledEvents,
})

Implementation

factory StreamEventsRequest_Events({
  $core.String? control,
  $core.Iterable<$core.String>? events,
  $core.Iterable<$core.String>? cancelledEvents,
}) {
  final $result = create();
  if (control != null) {
    $result.control = control;
  }
  if (events != null) {
    $result.events.addAll(events);
  }
  if (cancelledEvents != null) {
    $result.cancelledEvents.addAll(cancelledEvents);
  }
  return $result;
}