addPushReceiver static method
Implementation
static Future<void> addPushReceiver(EventHandler onEvent, EventHandler onError) async {
_channelReciever.receiveBroadcastStream().listen(onEvent, onError: onError);
}
static Future<void> addPushReceiver(EventHandler onEvent, EventHandler onError) async {
_channelReciever.receiveBroadcastStream().listen(onEvent, onError: onError);
}