QuotaStatus.fromJson constructor

QuotaStatus.fromJson(
  1. Map _json
)

Implementation

QuotaStatus.fromJson(core.Map _json)
    : this(
        consumed: _json.containsKey('consumed')
            ? _json['consumed'] as core.int
            : null,
        remaining: _json.containsKey('remaining')
            ? _json['remaining'] as core.int
            : null,
      );