ConsistentHashLoadBalancerSettingsHttpCookie.fromJson constructor

ConsistentHashLoadBalancerSettingsHttpCookie.fromJson(
  1. Map json_
)

Implementation

ConsistentHashLoadBalancerSettingsHttpCookie.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        ttl: json_.containsKey('ttl')
            ? Duration.fromJson(
                json_['ttl'] as core.Map<core.String, core.dynamic>)
            : null,
      );