onAudioNodeWillBeDestroyed property Null safety

Stream<AudioNodeWillBeDestroyedEvent> onAudioNodeWillBeDestroyed

Notifies that an existing AudioNode has been destroyed.

Implementation

Stream<AudioNodeWillBeDestroyedEvent> get onAudioNodeWillBeDestroyed =>
    _client.onEvent
        .where((event) => event.name == 'WebAudio.audioNodeWillBeDestroyed')
        .map((event) =>
            AudioNodeWillBeDestroyedEvent.fromJson(event.parameters));