MTLSPolicy.fromJson constructor

MTLSPolicy.fromJson(
  1. Map json_
)

Implementation

MTLSPolicy.fromJson(core.Map json_)
    : this(
        clientValidationCa: json_.containsKey('clientValidationCa')
            ? (json_['clientValidationCa'] as core.List)
                .map((value) => ValidationCA.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        clientValidationMode: json_.containsKey('clientValidationMode')
            ? json_['clientValidationMode'] as core.String
            : null,
        clientValidationTrustConfig:
            json_.containsKey('clientValidationTrustConfig')
                ? json_['clientValidationTrustConfig'] as core.String
                : null,
      );