Example: Delayed Push
// do not forget to call Backendless.initApp in the app initialization code
DeliveryOptions deliveryOptions = DeliveryOptions()
..publishAt = DateTime.now().add(Duration(seconds: 20));
PublishOptions publishOptions = PublishOptions()
..headers = {
"android-ticker-text": "You just got a private push notification!",
"android-content-title": "This is a notification title",
"android-content-text": "Push Notifications are cool",
"ios-alert": "Alert message",
"ios-badge": "1",
"ios-sound": "default"
};
Backendless.messaging.publish("This message was scheduled 20 sec ago", publishOptions: publishOptions,
deliveryOptions: deliveryOptions).then((status) {
print("Message status: $status");
});