onAudioListenerCreated property Null safety

Stream<AudioListener> 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>));