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