$new static method

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

Create a new $AssertionError wrapping AssertionError.new

Implementation

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