unloadEventHandlers method
Unloads this component event handlers. Call super to check whether this component has been attached. If it hasn't, it will throw ComponentNotRenderedException.
Because this is a StringComponent, this method is not called as this component never gets rendered independently. The parent needs to call this typically during preUnrender.
Implementation
@override
void unloadEventHandlers() {
super.unloadEventHandlers();
_resizeObserver.unobserve(_svgElem);
}