dispose method
To dispose the objects.
Implementation
@override
void dispose() {
_currentPointLocation = null;
_nextPointLocation = null;
_currentSegment = null;
_oldSegment = null;
super.dispose();
}
To dispose the objects.
@override
void dispose() {
_currentPointLocation = null;
_nextPointLocation = null;
_currentSegment = null;
_oldSegment = null;
super.dispose();
}