$new static method

$StreamView $new(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Creates a new $StreamView wrapping StreamView.new

Implementation

static $StreamView $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $StreamView.wrap(StreamView(args[0]!.$value));
}