$new static method

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

Wrapper for the FlutterMap.new constructor

Implementation

static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
  return $FlutterMap.wrap(
    FlutterMap(
      key: args[0]?.$value,
      mapController: args[1]?.$value,
      options: args[2]?.$value ?? const MapOptions(),
      children: (args[3]!.$reified as List).cast(),
    ),
  );
}