putImageData method Null safety

void putImageData(
  1. ImageData imageData
)

Implementation

void putImageData(ImageData imageData) {
  final rect = sourceRectangle;
  final context = renderTexture.canvas.context2D;
  context.putImageData(imageData, rect.left, rect.top);
}