BatchCloseConsumersRequest constructor

BatchCloseConsumersRequest({
  1. Iterable<String>? peerIds,
  2. String? roomId,
})

Implementation

factory BatchCloseConsumersRequest({
  $core.Iterable<$core.String>? peerIds,
  $core.String? roomId,
}) {
  final $result = create();
  if (peerIds != null) {
    $result.peerIds.addAll(peerIds);
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  return $result;
}