send method
void
send({})
Implementation
void send({
required String destination,
Map<String, String>? headers,
String? body,
Uint8List? binaryBody,
}) {
final handler = _handler;
if (handler == null) {
throw StompBadStateException(
'The StompHandler was null. '
'Did you forget calling activate() on the client?',
);
}
handler.send(
destination: destination,
headers: headers,
body: body,
binaryBody: binaryBody,
);
}