$getByName static method

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

Wrapper for the Encoding.getByName method

Implementation

static $Value? $getByName(
    Runtime runtime, $Value? target, List<$Value?> args) {
  final value = Encoding.getByName(args[0]!.$value);
  return value == null ? $null() : $Encoding.wrap(value);
}