StreamEventsRequest constructor

StreamEventsRequest({
  1. String? controller,
  2. Iterable<StreamEventsRequest_Events>? events,
  3. Struct? extra,
})

Implementation

factory StreamEventsRequest({
  $core.String? controller,
  $core.Iterable<StreamEventsRequest_Events>? events,
  $43.Struct? extra,
}) {
  final $result = create();
  if (controller != null) {
    $result.controller = controller;
  }
  if (events != null) {
    $result.events.addAll(events);
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}