NotificationsService class
Constructors
- NotificationsService(ThingsboardClient tbClient)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteNotification(
String id, {RequestConfig? requestConfig}) → Future< int> -
getNotificationById(
String id, {required String deliveryMethod, RequestConfig? requestConfig}) → Future< PushNotification> -
getNotifications(
PushNotificationQuery query, {RequestConfig? requestConfig}) → Future< PageData< PushNotification> > -
getUnreadNotificationsCount(
String deliveryMethod, {RequestConfig? requestConfig}) → Future< int> -
markAllNotificationsAsRead(
String deliveryMethod, {RequestConfig? requestConfig}) → Future< int> -
markNotificationAsRead(
String id, {RequestConfig? requestConfig}) → Future< int> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited