Quota constructor
Quota({
- Iterable<
QuotaLimit> ? limits, - Iterable<
MetricRule> ? metricRules,
Implementation
factory Quota({
$core.Iterable<QuotaLimit>? limits,
$core.Iterable<MetricRule>? metricRules,
}) {
final _result = create();
if (limits != null) {
_result.limits.addAll(limits);
}
if (metricRules != null) {
_result.metricRules.addAll(metricRules);
}
return _result;
}