$_value static method

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

Creates a new $Stream that emits a single value

Implementation

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