TopicLimits_ constructor

TopicLimits_({
  1. int? maxPublishRate,
  2. int? maxSubscriptionCount,
  3. int? maxPublishMessageSizeKb,
})

Implementation

factory TopicLimits_({
  $core.int? maxPublishRate,
  $core.int? maxSubscriptionCount,
  $core.int? maxPublishMessageSizeKb,
}) {
  final $result = create();
  if (maxPublishRate != null) {
    $result.maxPublishRate = maxPublishRate;
  }
  if (maxSubscriptionCount != null) {
    $result.maxSubscriptionCount = maxSubscriptionCount;
  }
  if (maxPublishMessageSizeKb != null) {
    $result.maxPublishMessageSizeKb = maxPublishMessageSizeKb;
  }
  return $result;
}