SslConfigTemplate.fromJson constructor

SslConfigTemplate.fromJson(
  1. Map json_
)

Implementation

SslConfigTemplate.fromJson(core.Map json_)
    : this(
        additionalVariables: json_.containsKey('additionalVariables')
            ? (json_['additionalVariables'] as core.List)
                .map((value) => ConfigVariableTemplate.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        clientCertType: json_.containsKey('clientCertType')
            ? (json_['clientCertType'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        isTlsMandatory: json_.containsKey('isTlsMandatory')
            ? json_['isTlsMandatory'] as core.bool
            : null,
        serverCertType: json_.containsKey('serverCertType')
            ? (json_['serverCertType'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sslType: json_.containsKey('sslType')
            ? json_['sslType'] as core.String
            : null,
      );