@override Clock deserialize(ByteDataReader reader) { //deserializes a message object of type Clock final data = Clock(); // Deserialize message field [clock] data.clock = reader.readTime(); return data; }