QuotaExceededInfo.fromJson constructor

QuotaExceededInfo.fromJson(
  1. Map json_
)

Implementation

QuotaExceededInfo.fromJson(core.Map json_)
    : this(
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        futureLimit: json_.containsKey('futureLimit')
            ? (json_['futureLimit'] as core.num).toDouble()
            : null,
        limit: json_.containsKey('limit')
            ? (json_['limit'] as core.num).toDouble()
            : null,
        limitName: json_.containsKey('limitName')
            ? json_['limitName'] as core.String
            : null,
        metricName: json_.containsKey('metricName')
            ? json_['metricName'] as core.String
            : null,
        rolloutStatus: json_.containsKey('rolloutStatus')
            ? json_['rolloutStatus'] as core.String
            : null,
      );