toJson method

List<String> toJson()

Serialize this key to JSON.

Implementation

List<String> toJson() {
  return [blobToHex(_publicKey.toRaw()), blobToHex(_privateKey)];
}