muteTeam method Null safety

Future<NIMResult<void>> muteTeam(
  1. String teamId,
  2. NIMTeamMessageNotifyTypeEnum notifyType
)

The Do Not Disturb settings for group messages Specify the notification mode for the group. teamId The group ID notifyType Specify the notification mode (Notify Group Members of All Group Messages, Notify Group Members of Messages Sent by Admin, or not Notify)

Implementation

Future<NIMResult<void>> muteTeam(
    String teamId, NIMTeamMessageNotifyTypeEnum notifyType) async {
  return _platform.muteTeam(teamId, notifyType);
}