onAudioNodeCreated property Null safety

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