$new static method

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

Implementation

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