NotificationsV1Service class abstract
Constructors
- NotificationsV1Service({required String instance, required ClientContext context})
-
Returns the new instance of NotificationsV1Service.
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
-
destroyAllNotifications(
) → Future< MastodonResponse< Empty> > - Clear all notifications from the server.
-
destroyNotification(
{required String notificationId}) → Future< MastodonResponse< Empty> > - Dismiss a single notification from the server.
-
lookupNotification(
{required String notificationId}) → Future< MastodonResponse< Notification> > - View information about a notification with a given ID.
-
lookupNotifications(
{String? maxNotificationId, String? sinceNotificationId, String? minNotificationId, int? limit, List< NotificationType> ? types, List<NotificationType> ? excludeTypes, String? accountId}) → Future<MastodonResponse< List< >Notification> > - Notifications concerning the user.
-
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