toggleMuteUnmuteGroupQuestion method

  1. @override
String toggleMuteUnmuteGroupQuestion({
  1. required bool isMuted,
})

The text for "Are you sure you want to mute this group?"/"Are you sure you want to unmute this group?" based on the value of isMuted.

Implementation

@override
String toggleMuteUnmuteGroupQuestion({required bool isMuted}) {
  if (isMuted) {
    return 'Are you sure you want to unmute this group?';
  } else {
    return 'Are you sure you want to mute this group?';
  }
}