deserialize method
Implementation
@override
GoalStatus deserialize(ByteDataReader reader) {
//deserializes a message object of type GoalStatus
final data = GoalStatus();
// Deserialize message field [goal_id]
data.goal_id = GoalID.$prototype.deserialize(reader);
// Deserialize message field [status]
data.status = reader.readUint8();
// Deserialize message field [text]
data.text = reader.readString();
return data;
}