$new static method

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

Create a new $FormatException wrapping FormatException.new

Implementation

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