arePushNotificationsEnabled static method
Check if Push Notifications are enabled for current user.
Implementation
static Future<bool> arePushNotificationsEnabled() {
return NativeBridge.async('Notifications.areEnabled', '').then((result) {
return jsonDecode(result)['result'] == true;
});
}