SecuritySettings.fromJson constructor

SecuritySettings.fromJson(
  1. Map json_
)

Implementation

SecuritySettings.fromJson(core.Map json_)
    : this(
        awsV4Authentication: json_.containsKey('awsV4Authentication')
            ? AWSV4Signature.fromJson(json_['awsV4Authentication']
                as core.Map<core.String, core.dynamic>)
            : null,
        clientTlsPolicy: json_.containsKey('clientTlsPolicy')
            ? json_['clientTlsPolicy'] as core.String
            : null,
        subjectAltNames: json_.containsKey('subjectAltNames')
            ? (json_['subjectAltNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );