clone method
Implementation
XtransportCredentials clone({bool? newIsSecure, String? newAuthority}) {
return XtransportCredentials._(
newIsSecure ?? isSecure,
_caCertificateBytes,
_caCertificatePassword,
newAuthority ?? authority,
onBadCertificate,
_clientCertificateBytes,
_clientCertificatePassword,
_clientPrivateKeyBytes,
_clientPrivateKeyPassword,
);
}