dispose method
To dispose the objects.
Implementation
@override
void dispose() {
_oldPoints.clear();
points.clear();
super.dispose();
}
To dispose the objects.
@override
void dispose() {
_oldPoints.clear();
points.clear();
super.dispose();
}