transmit abstract method

void transmit(
  1. String event, [
  2. dynamic data,
  3. Options options = const Options()
])

Transmits the specified event to the corresponding receiver on the server-side socket. Any JSON-compatible auxiliary data may be passed as data.

This method does not return anything, will not throw or reject and cannot be awaited.

Implementation

void transmit(
  String event, [
  dynamic data,
  Options options = const Options(),
]);