MysqlSslConfig.fromJson constructor

MysqlSslConfig.fromJson(
  1. Map json_
)

Implementation

MysqlSslConfig.fromJson(core.Map json_)
    : this(
        caCertificate: json_.containsKey('caCertificate')
            ? json_['caCertificate'] as core.String
            : null,
        caCertificateSet: json_.containsKey('caCertificateSet')
            ? json_['caCertificateSet'] as core.bool
            : null,
        clientCertificate: json_.containsKey('clientCertificate')
            ? json_['clientCertificate'] as core.String
            : null,
        clientCertificateSet: json_.containsKey('clientCertificateSet')
            ? json_['clientCertificateSet'] as core.bool
            : null,
        clientKey: json_.containsKey('clientKey')
            ? json_['clientKey'] as core.String
            : null,
        clientKeySet: json_.containsKey('clientKeySet')
            ? json_['clientKeySet'] as core.bool
            : null,
      );