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