attachHost method
void
attachHost()
Registers a mounted host. Called by LayerRasterizerHost and not intended for other callers — faking a host makes capture wait for layers that are never mounted.
Implementation
void attachHost() => _hostCount++;