Event.fromPacket(Packet packet)

Source

Event.fromPacket(Packet packet) {
  headers = packet.headers;
  content = packet.content;
}