nack method
Implementation
void nack({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.nack(id: id, headers: headers);
}