StreamWithAnnotation constructor
StreamWithAnnotation({
- String? stream,
- Iterable<
StreamAnnotation> ? applicationAnnotations, - Iterable<
StreamWithAnnotation_NodeAnnotation> ? nodeAnnotations,
Implementation
factory StreamWithAnnotation({
$core.String? stream,
$core.Iterable<StreamAnnotation>? applicationAnnotations,
$core.Iterable<StreamWithAnnotation_NodeAnnotation>? nodeAnnotations,
}) {
final $result = create();
if (stream != null) {
$result.stream = stream;
}
if (applicationAnnotations != null) {
$result.applicationAnnotations.addAll(applicationAnnotations);
}
if (nodeAnnotations != null) {
$result.nodeAnnotations.addAll(nodeAnnotations);
}
return $result;
}