$new static method

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

Wrapper for the WidgetStatesController.new constructor

Implementation

static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
  return $WidgetStatesController.wrap(
    WidgetStatesController((args[0]?.$reified as Set?)?.cast()),
  );
}