$new static method
Implementation
static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
return $MemoryImage.wrap(
MemoryImage(
Uint8List.fromList(args[0]?.$value ?? []),
scale: args[1]?.$value ?? 1.0,
),
);
}