toWIF method
Implementation
String toWIF() {
if (privateKey == null) {
throw ArgumentError('Missing private key');
}
return wif.encode(wif.WIF(
version: network.wif, privateKey: privateKey!, compressed: true));
}
String toWIF() {
if (privateKey == null) {
throw ArgumentError('Missing private key');
}
return wif.encode(wif.WIF(
version: network.wif, privateKey: privateKey!, compressed: true));
}