getRenderTree method

Future<RenderTree> getRenderTree({
  1. Duration? timeout,
})

Returns a dump of the render tree.

Implementation

Future<RenderTree> getRenderTree({ Duration? timeout }) async {
  return RenderTree.fromJson(await sendCommand(GetRenderTree(timeout: timeout)));
}