$fromMap static method

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

Wrapper for the WidgetStateProperty.fromMap constructor

Implementation

static $Value? $fromMap(
  Runtime runtime,
  $Value? thisValue,
  List<$Value?> args,
) {
  return $WidgetStateProperty.wrap(
    WidgetStateProperty.fromMap((args[0]!.$reified as Map).cast()),
  );
}