onNodesUpdated property

Stream<List<AXNodeData>> get onNodesUpdated

The nodesUpdated event is sent every time a previously requested node has changed the in tree.

Implementation

Stream<List<AXNodeData>> get onNodesUpdated => _client.onEvent
    .where((event) => event.name == 'Accessibility.nodesUpdated')
    .map((event) => (event.parameters['nodes'] as List)
        .map((e) => AXNodeData.fromJson(e as Map<String, dynamic>))
        .toList());