muteTeamMember method Null safety

Future<NIMResult<void>> muteTeamMember(
  1. String teamId,
  2. List<String> accountList,
  3. bool mute
)

Mute or unmute the specified members. The group owner and group admins have permission to mute or unmute normal users. teamId The group ID accountList Accounts that need to be muted or unmuted mute true: mute, false: unmute

Implementation

Future<NIMResult<void>> muteTeamMember(
    String teamId, List<String> accountList, bool mute) async {
  return _platform.muteTeamMember(teamId, accountList, mute);
}