dispose method

void dispose()

Disposes the graphics object, clearing the drawing queue and mask.

Implementation

void dispose() {
  mask = null;
  _drawingQueue.clear();
  _currentDrawing = null;
}