getLayerTree method

Future<LayerTree> getLayerTree(
  1. {Duration? timeout}
)

Returns a dump of the layer tree.

Implementation

Future<LayerTree> getLayerTree({ Duration? timeout }) async {
  return LayerTree.fromJson(await sendCommand(GetLayerTree(timeout: timeout)));
}