encode method
Implementation
@override
String encode() {
final method = $EncryptionMethodEnum.encode(this.method);
final part = method.startsWith('2022')
? '$method:${password ?? ''}:$clientPassword'
: '$method:$clientPassword';
return Uri(
scheme: scheme,
host: address,
port: port,
userInfo: Base64Util.encode(part),
fragment: remark,
query: QueryUtilities.toQuery(_options),
).toString();
}