$maybeResolve static method

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

Wrapper for the CupertinoDynamicColor.maybeResolve method

Implementation

static $Value? $maybeResolve(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = CupertinoDynamicColor.maybeResolve(
    args[0]!.$value,
    args[1]!.$value,
  );
  return value == null ? const $null() : $Color.wrap(value);
}