onSubscriptionChanged property
Stream<NotificarePushSubscription?>
get
onSubscriptionChanged
Called when the device's push subscription changes.
It will provide the updated NotificarePushSubscription, or null if the
subscription token is unavailable.
Implementation
static Stream<NotificarePushSubscription?> get onSubscriptionChanged {
return _getEventStream('subscription_changed').map((result) {
final Map<dynamic, dynamic>? json = result;
return json != null
? NotificarePushSubscription.fromJson(json.cast())
: null;
});
}