identityEncode method
BuBytes
identityEncode({
- required String proto,
- String user = '',
- String host = '',
- String port = '',
- String path = '',
- int index = 0,
override
Trezor: encodes IdentityType; throws CryptoException on native failure.
Implementation
@override
BuBytes identityEncode({
required String proto,
String user = '',
String host = '',
String port = '',
String path = '',
int index = 0,
}) {
return api
.identityEncode(
proto: proto,
user: user,
host: host,
port: port,
path: path,
index: index,
)
.unwrapOrThrowCryptoError();
}