dispose method
To dispose the objects.
Implementation
@override
void dispose() {
points.clear();
_oldPoints.clear();
_medianLinePoints.clear();
_meanLinePoints.clear();
_outlierPoints.clear();
segmentRect = null;
super.dispose();
}
To dispose the objects.
@override
void dispose() {
points.clear();
_oldPoints.clear();
_medianLinePoints.clear();
_meanLinePoints.clear();
_outlierPoints.clear();
segmentRect = null;
super.dispose();
}