$new static method

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

Wrapper for the MapCamera.new constructor

Implementation

static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
  return $MapCamera.wrap(
    MapCamera(
      crs: args[0]!.$value,
      center: args[1]!.$value,
      zoom: args[2]!.$value,
      rotation: args[3]!.$value,
      nonRotatedSize: args[4]!.$value,
      minZoom: args[5]?.$value,
      maxZoom: args[6]?.$value,
      size: args[7]?.$value,
      pixelBounds: args[8]?.$value,
      bounds: args[9]?.$value,
      pixelOrigin: args[10]?.$value,
    ),
  );
}