SqlIpConfig.fromJson constructor

SqlIpConfig.fromJson(
  1. Map json_
)

Implementation

SqlIpConfig.fromJson(core.Map json_)
    : this(
        allocatedIpRange: json_.containsKey('allocatedIpRange')
            ? json_['allocatedIpRange'] as core.String
            : null,
        authorizedNetworks: json_.containsKey('authorizedNetworks')
            ? (json_['authorizedNetworks'] as core.List)
                .map((value) => SqlAclEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        enableIpv4: json_.containsKey('enableIpv4')
            ? json_['enableIpv4'] as core.bool
            : null,
        privateNetwork: json_.containsKey('privateNetwork')
            ? json_['privateNetwork'] as core.String
            : null,
        requireSsl: json_.containsKey('requireSsl')
            ? json_['requireSsl'] as core.bool
            : null,
      );