$new static method

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

Implementation

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