toBorsh method

Uint8List toBorsh()
inherited

Implementation

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

  const BPublicKey().write(writer, address);
  const BBool().write(writer, verified);
  const BU8().write(writer, share);

  return writer.toArray();
}