onPacket method

void onPacket(
  1. Map packet
)

Implementation

void onPacket(Map packet) {
  emit('packet', packet);
}