onAudioParamCreated property

Stream<AudioParam> get onAudioParamCreated

Notifies that a new AudioParam has been created.

Implementation

Stream<AudioParam> get onAudioParamCreated => _client.onEvent
    .where((event) => event.name == 'WebAudio.audioParamCreated')
    .map(
      (event) => AudioParam.fromJson(
        event.parameters['param'] as Map<String, dynamic>,
      ),
    );