debugDumpLayerTree function Null safety
Prints a textual representation of the entire layer tree.
Implementation
void debugDumpLayerTree() {
debugPrint(RendererBinding.instance?.renderView.debugLayer?.toStringDeep() ?? 'Layer tree unavailable.');
}

