removeOperators method Null safety
Removes operators on this channel with given userIds
.
After this method completes sucessfully, channel event ChannelEventHandler.onChannelOperatorsUpdated will be invoked. Operator only
Implementation
Future<void> removeOperators(List<String> userIds) async {
if (userIds.isEmpty) {
throw InvalidParameterError();
}
await _sdk.api.send(ChannelOperatorsRemoveRequest(
channelType: channelType,
channelUrl: channelUrl,
userIds: userIds,
));
}