onReply method
Associate a callback to be called if and when a reply with the given status is received.
Implementation
void onReply(
String status,
void Function(PushResponse) callback,
) {
_receivers[status].add(callback);
}
Associate a callback to be called if and when a reply with the given status is received.
void onReply(
String status,
void Function(PushResponse) callback,
) {
_receivers[status].add(callback);
}