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