onNodesDisconnected property Null safety

Stream<NodesDisconnectedEvent> onNodesDisconnected

Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.

Implementation

Stream<NodesDisconnectedEvent> get onNodesDisconnected => _client.onEvent
    .where((event) => event.name == 'WebAudio.nodesDisconnected')
    .map((event) => NodesDisconnectedEvent.fromJson(event.parameters));