$new static method

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

Instantiate a new $DragUpdateDetails from args

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $DragUpdateDetails.wrap(DragUpdateDetails(
    sourceTimeStamp: args[0]?.$value,
    delta: args[1]?.$value,
    primaryDelta: args[2]?.$value,
    globalPosition: args[3]?.$value,
    localPosition: args[4]?.$value,
  ));
}