getResourceTree method

Future<FrameResourceTree> getResourceTree()

Returns present frame / resource tree structure. Returns: Present frame / resource tree structure.

Implementation

Future<FrameResourceTree> getResourceTree() async {
  var result = await _client.send('Page.getResourceTree');
  return FrameResourceTree.fromJson(
      result['frameTree'] as Map<String, dynamic>);
}