detachHost method
void
detachHost()
Unregisters a disposed host. Called by LayerRasterizerHost and not intended for other callers.
Implementation
void detachHost() {
_hostCount--;
assert(
_hostCount >= 0,
'detachHost() was called more often than attachHost(). Both are managed '
'by LayerRasterizerHost and must not be called directly.',
);
}