muteAllTeamMember method Null safety

Future<NIMResult<void>> muteAllTeamMember(
  1. String teamId,
  2. bool mute
)

Mute/unmute all normal group members. Only the group owner and group admins have the permission for this operation. teamId: The group ID mute: true-mute, false-unmute

Implementation

Future<NIMResult<void>> muteAllTeamMember(String teamId, bool mute) {
  return _platform.muteAllTeamMember(teamId, mute);
}