setMuteState method
Sets the mute state and triggers the mute toggle callback.
Implementation
void setMuteState(bool isMuted) {
isMutedNotifier.value = isMuted;
callbacks.onMuteToggle?.call(isMuted);
}
Sets the mute state and triggers the mute toggle callback.
void setMuteState(bool isMuted) {
isMutedNotifier.value = isMuted;
callbacks.onMuteToggle?.call(isMuted);
}