toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxConnections != null) 'maxConnections': maxConnections!,
      if (maxPendingRequests != null)
        'maxPendingRequests': maxPendingRequests!,
      if (maxRequests != null) 'maxRequests': maxRequests!,
      if (maxRequestsPerConnection != null)
        'maxRequestsPerConnection': maxRequestsPerConnection!,
      if (maxRetries != null) 'maxRetries': maxRetries!,
    };