fill method

void fill([
  1. Path2D? path,
  2. CanvasFillRule? fillRule = CanvasFillRule.nonzero
])

Implementation

void fill(
        [Path2D? path, CanvasFillRule? fillRule = CanvasFillRule.nonzero]) =>
    js_util.callMethod(this, 'fill', [path, fillRule?.value]);