encode function

String encode(
  1. WIF wif
)

Implementation

String encode(WIF wif) {
  return bs58check
      .encode(encodeRaw(wif.version, wif.privateKey, wif.compressed));
}