dispose method Null safety

void dispose()

To dispose the objects.

Implementation

void dispose() {
  _axisRendererDetails.dispose();
}