send method

void send(
  1. dynamic data
)

Implementation

void send(dynamic data) {
  socket!.emit("message", data);
}