$new static method

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

Implementation

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