serialize method

void serialize(
  1. ByteDataWriter writer
)

Implementation

void serialize(ByteDataWriter writer) {
  // Serializes a message object of type GoalStatus
  // Serialize message field [goal_id]
  goal_id.serialize(writer);
  // Serialize message field [status]
  writer.writeUint8(status);
  // Serialize message field [text]
  writer.writeString(text);
}