deserialize method Null safety

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

Implementation

@override
WrenchStamped deserialize(ByteDataReader reader) {
  //deserializes a message object of type WrenchStamped
  final data = WrenchStamped();
  // Deserialize message field [header]
  data.header = Header.$prototype.deserialize(reader);
  // Deserialize message field [wrench]
  data.wrench = Wrench.$prototype.deserialize(reader);
  return data;
}