toBytes method
Implementation
Uint8List toBytes() {
ProtoTransaction transaction = new ProtoTransaction();
transaction.data = this._createProtoTxData();
if (this.signature != null) {
transaction.signature = toBuffer(this.signature);
}
return transaction.writeToBuffer();
}