push method
Push Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions. When using a capacity-restricted queue, this method is generally preferable to add, which can fail to insert an element only by throwing an exception.
Implementation
@override
Future<void> push(
Uint8List payload,
Map<String, String> metadata,
String topic, {
Context? ctx,
}) async {
return await _h.invoke(this, _methods['push']!, [
payload,
metadata,
topic,
], ctx);
}