$resolveAs static method

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

Wrapper for the WidgetStateProperty.resolveAs method

Implementation

static $Value? $resolveAs(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = WidgetStateProperty.resolveAs(
    args[0]!.$value,
    (args[1]!.$reified as Set).cast(),
  );
  return runtime.wrapAlways(value);
}