unrender method
Removes this component from the DOM, setting parentId
to null.
Will throw ComponentNotRenderedException if it has not been rendered.
Implementation
@nonVirtual
Future<void> unrender() async {
await preUnrender();
elem.remove();
await postUnrender();
}