$only static method

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

Create a new $BorderRadius using BorderRadius.only from args

Implementation

static $Value? $only(Runtime runtime, $Value? target, List<$Value?> args) {
  return $BorderRadius.wrap(BorderRadius.only(
    topLeft: args[0]!.$value ?? Radius.zero,
    topRight: args[1]!.$value ?? Radius.zero,
    bottomLeft: args[2]!.$value ?? Radius.zero,
    bottomRight: args[3]!.$value ?? Radius.zero,
  ));
}