CircuitBreakers.fromJson constructor

CircuitBreakers.fromJson(
  1. Map json_
)

Implementation

CircuitBreakers.fromJson(core.Map json_)
    : this(
        maxConnections: json_['maxConnections'] as core.int?,
        maxPendingRequests: json_['maxPendingRequests'] as core.int?,
        maxRequests: json_['maxRequests'] as core.int?,
        maxRequestsPerConnection:
            json_['maxRequestsPerConnection'] as core.int?,
        maxRetries: json_['maxRetries'] as core.int?,
      );