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: compressed!));
}
String toWIF() {
if (privateKey == null) {
throw new ArgumentError('Missing private key');
}
return wif.encode(
new wif.WIF(version: network!.wif, privateKey: privateKey, compressed: compressed!));
}