ConsistentHashLoadBalancerSettings.fromJson constructor

ConsistentHashLoadBalancerSettings.fromJson(
  1. Map json_
)

Implementation

ConsistentHashLoadBalancerSettings.fromJson(core.Map json_)
    : this(
        httpCookie: json_.containsKey('httpCookie')
            ? ConsistentHashLoadBalancerSettingsHttpCookie.fromJson(
                json_['httpCookie'] as core.Map<core.String, core.dynamic>)
            : null,
        httpHeaderName: json_.containsKey('httpHeaderName')
            ? json_['httpHeaderName'] as core.String
            : null,
        minimumRingSize: json_.containsKey('minimumRingSize')
            ? json_['minimumRingSize'] as core.String
            : null,
      );