encode method
Serialized body. Messages without fields keep this default.
Implementation
@override
Uint8List encode() =>
(ProtoWriter()
..bytes(1, ownerAddress)
..bytes(2, contractAddress)
..uint(3, callValue)
..bytes(4, data))
.toBytes();