MethodChannelAudioRouter constructor
MethodChannelAudioRouter()
Constructor
Implementation
MethodChannelAudioRouter() {
_audioStateStream = eventChannel
.receiveBroadcastStream()
.map(_toAudioState)
.where((state) => state != null)
.cast<AudioState>()
.handleError(_onError);
}