$notNull static method

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

Create a new $ArgumentError wrapping ArgumentError.notNull

Implementation

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