onContextChanged property Null safety

Stream<BaseAudioContext> onContextChanged

Notifies that existing BaseAudioContext has changed some properties (id stays the same)..

Implementation

Stream<BaseAudioContext> get onContextChanged => _client.onEvent
    .where((event) => event.name == 'WebAudio.contextChanged')
    .map((event) => BaseAudioContext.fromJson(
        event.parameters['context'] as Map<String, dynamic>));