$new static method

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

Implementation

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