muteTeam method
Implementation
Future<void> muteTeam(String teamId, bool mute) async {
if (!(await haveConnectivity())) {
return;
}
TeamRepo.updateTeamNotify(teamId, mute).then((value) {
if (!value) {
messageTip = mute;
notifyListeners();
}
});
messageTip = !mute;
notifyListeners();
}