$new static method

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

Implementation

static $LongPressDownDetails $new(
    Runtime runtime, $Value? target, List<$Value?> args) {
  return $LongPressDownDetails.wrap(LongPressDownDetails(
    globalPosition: args[0]?.$value ?? Offset.zero,
    localPosition: args[1]?.$value,
    kind: args[2]?.$value,
  ));
}