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,
      );