$fromIterable static method

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

Creates a new $Stream from an Iterable

Implementation

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