deserialize method

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

Implementation

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