send method Null safety

void send(
  1. WebSocketAction action
)

Sends the given action on the socket.

Implementation

void send(WebSocketAction action) {
  app.sendAction(action);
}