toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (caCertificate != null) 'caCertificate': caCertificate!,
  if (clientCertificate != null) 'clientCertificate': clientCertificate!,
  if (clientKey != null) 'clientKey': clientKey!,
  if (serverCertificateHostname != null)
    'serverCertificateHostname': serverCertificateHostname!,
};