getChangeGroupMuteAllDisplayString static method
String
getChangeGroupMuteAllDisplayString(
- ChangeGroupMuteAllSystemMessage systemMessage,
- BuildContext context
Implementation
static String getChangeGroupMuteAllDisplayString(
ChangeGroupMuteAllSystemMessage systemMessage, BuildContext context) {
AtomicLocalizations localizations = AtomicLocalizations.of(context);
String operator = systemMessage.groupMuteAllOperator;
bool isMuteAll = systemMessage.isMuteAll;
return '$operator ${isMuteAll ? localizations.groupMuteAllEnabled : localizations.groupMuteAllDisabled}';
}