$fromStream static method

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

Wrapper for the Response.fromStream method

Implementation

static $Value? $fromStream(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = Response.fromStream(args[0]!.$value);
  return $Future.wrap(value.then((e) => $Response.wrap(e)));
}