$new static method

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

Implementation

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