onAudioNodeCreated property

Stream<AudioNode> get onAudioNodeCreated

Notifies that a new AudioNode has been created.

Implementation

Stream<AudioNode> get onAudioNodeCreated => _client.onEvent
    .where((event) => event.name == 'WebAudio.audioNodeCreated')
    .map(
      (event) => AudioNode.fromJson(
        event.parameters['node'] as Map<String, dynamic>,
      ),
    );