MethodQuota.fromJson constructor

MethodQuota.fromJson(
  1. Map json_
)

Implementation

MethodQuota.fromJson(core.Map json_)
    : this(
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        quotaLimit: json_.containsKey('quotaLimit')
            ? json_['quotaLimit'] as core.String
            : null,
        quotaMinuteLimit: json_.containsKey('quotaMinuteLimit')
            ? json_['quotaMinuteLimit'] as core.String
            : null,
        quotaUsage: json_.containsKey('quotaUsage')
            ? json_['quotaUsage'] as core.String
            : null,
      );