QuotaInfo.fromJson constructor

QuotaInfo.fromJson(
  1. Map json_
)

Implementation

QuotaInfo.fromJson(core.Map json_)
    : this(
        limitExceeded: (json_['limitExceeded'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        quotaConsumed:
            (json_['quotaConsumed'] as core.Map<core.String, core.dynamic>?)
                ?.map(
          (key, value) => core.MapEntry(
            key,
            value as core.int,
          ),
        ),
        quotaMetrics: (json_['quotaMetrics'] as core.List?)
            ?.map((value) => MetricValueSet.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );