addMessages method

void addMessages(
  1. MessageSocket socket
)

subscribe to message events

Implementation

void addMessages(MessageSocket socket) {
  _onMessages!.add((socket));
}