toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientCertificate != null) 'clientCertificate': clientCertificate!,
      if (clientCertificateConfig != null)
        'clientCertificateConfig': clientCertificateConfig!,
      if (clientKey != null) 'clientKey': clientKey!,
      if (clusterCaCertificate != null)
        'clusterCaCertificate': clusterCaCertificate!,
      if (password != null) 'password': password!,
      if (username != null) 'username': username!,
    };