1. override
void endRenderMask(RenderState renderState, RenderMask mask)

Source

@override
void endRenderMask(RenderState renderState, RenderMask mask) {
  _renderMask(renderState, mask, -1);
}