PropertyQuota.fromJson constructor
PropertyQuota.fromJson(
- Map _json
Implementation
PropertyQuota.fromJson(core.Map _json)
: this(
concurrentRequests: _json.containsKey('concurrentRequests')
? QuotaStatus.fromJson(_json['concurrentRequests']
as core.Map<core.String, core.dynamic>)
: null,
potentiallyThresholdedRequestsPerHour:
_json.containsKey('potentiallyThresholdedRequestsPerHour')
? QuotaStatus.fromJson(
_json['potentiallyThresholdedRequestsPerHour']
as core.Map<core.String, core.dynamic>)
: null,
serverErrorsPerProjectPerHour:
_json.containsKey('serverErrorsPerProjectPerHour')
? QuotaStatus.fromJson(_json['serverErrorsPerProjectPerHour']
as core.Map<core.String, core.dynamic>)
: null,
tokensPerDay: _json.containsKey('tokensPerDay')
? QuotaStatus.fromJson(
_json['tokensPerDay'] as core.Map<core.String, core.dynamic>)
: null,
tokensPerHour: _json.containsKey('tokensPerHour')
? QuotaStatus.fromJson(
_json['tokensPerHour'] as core.Map<core.String, core.dynamic>)
: null,
);