toHex method
returns a serialized version of the script in hex
Implementation
String toHex() {
final bytes = toBytes();
return bytesToHex(bytes);
}
returns a serialized version of the script in hex
String toHex() {
final bytes = toBytes();
return bytesToHex(bytes);
}