dispose method
To dispose the objects.
Implementation
@override
void dispose() {
  _fillPath.reset();
  _strokePath.reset();
  points.clear();
  _drawIndexes.clear();
  _highPoints.clear();
  _lowPoints.clear();
  super.dispose();
}To dispose the objects.
@override
void dispose() {
  _fillPath.reset();
  _strokePath.reset();
  points.clear();
  _drawIndexes.clear();
  _highPoints.clear();
  _lowPoints.clear();
  super.dispose();
}