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 (dumpFilePath != null) 'dumpFilePath': dumpFilePath!,
      if (hostPort != null) 'hostPort': hostPort!,
      if (kind != null) 'kind': kind!,
      if (password != null) 'password': password!,
      if (sourceInstance != null) 'sourceInstance': sourceInstance!.toJson(),
      if (username != null) 'username': username!,
    };