StreamWithAnnotation_NodeAnnotation constructor

StreamWithAnnotation_NodeAnnotation({
  1. String? node,
  2. Iterable<StreamAnnotation>? annotations,
})

Implementation

factory StreamWithAnnotation_NodeAnnotation({
  $core.String? node,
  $core.Iterable<StreamAnnotation>? annotations,
}) {
  final $result = create();
  if (node != null) {
    $result.node = node;
  }
  if (annotations != null) {
    $result.annotations.addAll(annotations);
  }
  return $result;
}