getRelayoutBoundary method
Returns the id of the nearest ancestor that is a relayout boundary.
nodeId
Id of the node.
Returns: Relayout boundary node id for the given node.
Implementation
Future<NodeId> getRelayoutBoundary(NodeId nodeId) async {
var result = await _client.send('DOM.getRelayoutBoundary', {
'nodeId': nodeId,
});
return NodeId.fromJson(result['nodeId'] as int);
}