$fromDirection static method

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

Implementation

static $Value? $fromDirection(
    Runtime runtime, $Value? target, List<$Value?> args) {
  return $Offset.wrap(Offset.fromDirection(
    args[0]?.$value,
    args[1]?.$value ?? 1.0,
  ));
}