toJson method

Map<String, dynamic> toJson()

Implementation

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