toBytes method

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

Convert the public key to a byte array.

Implementation

@override
List<int> toBytes() {
  return [
    ...publicKeys.map((e) => e.publicKeyBytes()).expand((e) => e),
    threshold
  ];
}