toData method

PacketDataArgs toData()

Implementation

PacketDataArgs toData() {
  return PacketDataArgs()
    ..sequence = sequence
    ..source_port = source_port
    ..source_channel = source_channel
    ..destination_port = destination_port
    ..destination_channel = destination_channel
    ..data = data
    ..timeout_height = timeout_height.toData()
    ..timeout_timeStamp = timeout_timestamp.toString();
}