onAudioListenerCreated property

Stream<AudioListener> get onAudioListenerCreated

Notifies that the construction of an AudioListener has finished.

Implementation

Stream<AudioListener> get onAudioListenerCreated => _client.onEvent
    .where((event) => event.name == 'WebAudio.audioListenerCreated')
    .map(
      (event) => AudioListener.fromJson(
        event.parameters['listener'] as Map<String, dynamic>,
      ),
    );