viewport method

void viewport(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
)

Implementation

void viewport(int x, int y, int width, int height) =>
    js_util.callMethod(this, 'viewport', [x, y, width, height]);