SslConfig.fromJson constructor

SslConfig.fromJson(
  1. Map json_
)

Implementation

SslConfig.fromJson(core.Map json_)
    : this(
        caCertificate: json_.containsKey('caCertificate')
            ? json_['caCertificate'] as core.String
            : null,
        clientCertificate: json_.containsKey('clientCertificate')
            ? json_['clientCertificate'] as core.String
            : null,
        clientKey: json_.containsKey('clientKey')
            ? json_['clientKey'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );