Stream constructor

Stream({
  1. int? mode,
  2. String? subject,
  3. String? subcontext,
  4. String? label,
})

Implementation

factory Stream({
  $core.int? mode,
  $core.String? subject,
  $core.String? subcontext,
  $core.String? label,
}) {
  final _result = create();
  if (mode != null) {
    _result.mode = mode;
  }
  if (subject != null) {
    _result.subject = subject;
  }
  if (subcontext != null) {
    _result.subcontext = subcontext;
  }
  if (label != null) {
    _result.label = label;
  }
  return _result;
}