toggleMuteUnmuteUserText method

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

The text for "Mute User"/"Unmute User" based on the value of isMuted.

Implementation

@override
String toggleMuteUnmuteUserText({required bool isMuted}) {
  if (isMuted) {
    return 'Unmute User';
  } else {
    return 'Mute User';
  }
}