toHex method
converts result of to_bytes to hexadecimal string
Implementation
String toHex() {
final bytes = toBytes(segwit: hasSegwit);
return bytesToHex(bytes);
}
converts result of to_bytes to hexadecimal string
String toHex() {
final bytes = toBytes(segwit: hasSegwit);
return bytesToHex(bytes);
}