toBorsh method

Uint8List toBorsh()
inherited

Implementation

Uint8List toBorsh() {
  final writer = BinaryWriter();

  const BBool().write(writer, verified);
  const BPublicKey().write(writer, key);

  return writer.toArray();
}