encode method
Encode a public key as text.
Produces a text representation of the public key using in the requested
format
.
Note: information that cannot be represented by the format will not be included in the encoded text.
Implementation
String encode(PubKeyEncoding format) => _publicKeyEncode(this, format);