deserialize method
Implementation
@override
GoalID deserialize(ByteDataReader reader) {
//deserializes a message object of type GoalID
final data = GoalID();
// Deserialize message field [stamp]
data.stamp = reader.readTime();
// Deserialize message field [id]
data.id = reader.readString();
return data;
}