serialize method

void serialize(
  1. ByteDataWriter writer
)

Implementation

void serialize(ByteDataWriter writer) {
  // Serializes a message object of type GoalStatusArray
  // Serialize message field [header]
  header.serialize(writer);
  // Serialize message field [status_list]
  // Serialize the length for message field [status_list]
  writer.writeUint32(status_list.length);
  status_list.forEach((val) {
    val.serialize(writer);
  });
}