deserialize method

  1. @override
GoalID deserialize(
  1. ByteDataReader reader
)

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;
}