$checkValidIndex static method
Implementation
static $Value? $checkValidIndex(
Runtime runtime,
$Value? target,
List<$Value?> args,
) {
return $int(
RangeError.checkValidIndex(
args[0]?.$value,
args[1]?.$value,
args[2]?.$value,
args[3]?.$value,
args[4]?.$value,
),
);
}