muteTeam method Null safety

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

Set the notification type for specified group messages. Multi-device synchronization is supported. notifyType: The enumeration of notification modes, incuding notifying group members of all group messages, only nofiying of messages sent by admins, and muting all group messages.

Implementation

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