Quota.fromJson constructor
Quota.fromJson(
- Map json_
Implementation
Quota.fromJson(core.Map json_)
: this(
limits: json_.containsKey('limits')
? (json_['limits'] as core.List)
.map((value) => QuotaLimit.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
metricRules: json_.containsKey('metricRules')
? (json_['metricRules'] as core.List)
.map((value) => MetricRule.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);