$checkNotNegative static method

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

Implementation

static $Value? $checkNotNegative(
    Runtime runtime, $Value? target, List<$Value?> args) {
  return $num(RangeError.checkNotNegative(
      args[0]?.$value, args[1]?.$value, args[2]?.$value));
}