OffscreenCanvas(int width, int height)

Source

@DomName('OffscreenCanvas.OffscreenCanvas')
@DocsEditable()
factory OffscreenCanvas(int width, int height) {
  return OffscreenCanvas._create_1(width, height);
}