onAudioListenerWillBeDestroyed property

Stream<AudioListenerWillBeDestroyedEvent> onAudioListenerWillBeDestroyed

Notifies that a new AudioListener has been created.

Implementation

Stream<AudioListenerWillBeDestroyedEvent>
    get onAudioListenerWillBeDestroyed => _client.onEvent
        .where(
            (event) => event.name == 'WebAudio.audioListenerWillBeDestroyed')
        .map((event) =>
            AudioListenerWillBeDestroyedEvent.fromJson(event.parameters));