encode method Null safety

String encode (
  1. PvtKeyEncoding format
)

Encode a private 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(PvtKeyEncoding format) => _privateKeyEncode(this, format);