NotificationService class final
Represents app.bsky.notification.*
service.
Constructors
- NotificationService(BlueskyServiceContext _ctx)
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
-
getUnreadCount(
{bool? priority, Map< String, String> ? headers}) → Future<XRPCResponse< Count> > - https://atprotodart.com/docs/lexicons/app/bsky/notification/getUnreadCount
-
listNotifications(
{List< String> ? reasons, int? limit, String? cursor, bool? priority, DateTime? seenAt, Map<String, String> ? headers}) → Future<XRPCResponse< Notifications> > - https://atprotodart.com/docs/lexicons/app/bsky/notification/listNotifications
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putPreferences(
{required bool priority}) → Future< XRPCResponse< EmptyData> > - https://atprotodart.com/docs/lexicons/app/bsky/notification/putPreferences
-
registerPush(
{required String serviceDid, required String token, required Platform platform, required String appId}) → Future< XRPCResponse< EmptyData> > - https://atprotodart.com/docs/lexicons/app/bsky/notification/registerPush
-
toString(
) → String -
A string representation of this object.
inherited
-
updateSeen(
{DateTime? seenAt}) → Future< XRPCResponse< EmptyData> > - https://atprotodart.com/docs/lexicons/app/bsky/notification/updateSeen
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited