toBorsh method
Implementation
Uint8List toBorsh() {
final writer = BinaryWriter();
const BU8().write(writer, useMethod);
const BU64().write(writer, remaining);
const BU64().write(writer, total);
return writer.toArray();
}
Uint8List toBorsh() {
final writer = BinaryWriter();
const BU8().write(writer, useMethod);
const BU64().write(writer, remaining);
const BU64().write(writer, total);
return writer.toArray();
}