toBytes method

  1. @override
List<int> toBytes()
override

Returns the public key bytes in compressed format, omitting the first byte.

Implementation

@override
List<int> toBytes() {
  return publicKey.compressed.sublist(1);
}