clone method

Axi5RChannelPacket clone()

Creates a copy of this packet.

Implementation

Axi5RChannelPacket clone() => Axi5RChannelPacket(
      data: data.map((e) => e.clone()).toList(),
      user: user?.clone(),
      id: id?.clone(),
      tag: tag?.clone(),
      debug: debug?.clone(),
      chunk: chunk?.clone(),
      response: response?.clone(),
    );