toggleMuteUnmuteUserQuestion method

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

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

Implementation

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