setAudioEnabled method

  1. @override
void setAudioEnabled({
  1. required String targetId,
  2. required bool isEnabled,
})
override

Implementation

@override
void setAudioEnabled({required String targetId, required bool isEnabled}) {
  if (_subscribers[targetId]?.isAudioEnabled == isEnabled) return;

  _subscribers[targetId]?.isAudioEnabled = isEnabled;
  _notify(CallbackEvents.shouldBeUpdateState);
}