$new static method
Instantiate a new $Image from args
Implementation
static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
return $Image.wrap(
Image(
image: args[0]!.$value,
key: args[1]?.$value,
width: args[2]?.$value,
height: args[3]?.$value,
color: args[4]?.$value,
fit: args[5]?.$value,
alignment: args[6]?.$value ?? Alignment.center,
filterQuality: args[7]?.$value ?? FilterQuality.low,
),
);
}