AccessConfig.fromJson constructor

AccessConfig.fromJson(
  1. Map json_
)

Implementation

AccessConfig.fromJson(core.Map json_)
    : this(
        externalIpv6: json_.containsKey('externalIpv6')
            ? json_['externalIpv6'] as core.String
            : null,
        externalIpv6PrefixLength:
            json_.containsKey('externalIpv6PrefixLength')
                ? json_['externalIpv6PrefixLength'] as core.int
                : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        natIP:
            json_.containsKey('natIP') ? json_['natIP'] as core.String : null,
        networkTier: json_.containsKey('networkTier')
            ? json_['networkTier'] as core.String
            : null,
        publicPtrDomainName: json_.containsKey('publicPtrDomainName')
            ? json_['publicPtrDomainName'] as core.String
            : null,
        securityPolicy: json_.containsKey('securityPolicy')
            ? json_['securityPolicy'] as core.String
            : null,
        setPublicPtr: json_.containsKey('setPublicPtr')
            ? json_['setPublicPtr'] as core.bool
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );