muteTeam method
Implementation
void muteTeam(String teamId, bool mute) {
TeamRepo.updateTeamNotify(teamId, mute).then((value) {
if (!value) {
messageTip = mute;
notifyListeners();
}
});
messageTip = !mute;
notifyListeners();
}