toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (concurrentRequests != null)
        'concurrentRequests': concurrentRequests!,
      if (potentiallyThresholdedRequestsPerHour != null)
        'potentiallyThresholdedRequestsPerHour':
            potentiallyThresholdedRequestsPerHour!,
      if (serverErrorsPerProjectPerHour != null)
        'serverErrorsPerProjectPerHour': serverErrorsPerProjectPerHour!,
      if (tokensPerDay != null) 'tokensPerDay': tokensPerDay!,
      if (tokensPerHour != null) 'tokensPerHour': tokensPerHour!,
      if (tokensPerProjectPerHour != null)
        'tokensPerProjectPerHour': tokensPerProjectPerHour!,
    };