$fromBytes static method

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

Wrapper for the ByteStream.fromBytes constructor

Implementation

static $Value? $fromBytes(
  Runtime runtime,
  $Value? thisValue,
  List<$Value?> args,
) {
  return $ByteStream.wrap(
    ByteStream.fromBytes((args[0]!.$reified as List).cast()),
  );
}