toJson method

dynamic toJson()

Implementation

toJson() {
  return [
    publicKey.toDer().toHex(include0x: false),
    secretKey.toHex(include0x: false)
  ];
}