LoadBalancerBackend.fromJson constructor

LoadBalancerBackend.fromJson(
  1. Map json_
)

Implementation

LoadBalancerBackend.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        healthCheckAllowingFirewallRules:
            json_.containsKey('healthCheckAllowingFirewallRules')
                ? (json_['healthCheckAllowingFirewallRules'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        healthCheckBlockingFirewallRules:
            json_.containsKey('healthCheckBlockingFirewallRules')
                ? (json_['healthCheckBlockingFirewallRules'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        healthCheckFirewallState:
            json_.containsKey('healthCheckFirewallState')
                ? json_['healthCheckFirewallState'] as core.String
                : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );