TokenUnavailableNotificationsDataSource class

Implementation of NotificationsDataSource when the user is not logged in.

This will ony return empty lists and not actually fetch any data.

Inheritance

Constructors

TokenUnavailableNotificationsDataSource()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
log → Logger
The logger to use.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fetchNotifications() → Future<List<Notification>>
Fetches all notifications for the currently logged in user.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateNotification(Notification notification) → Future<Notification>
Updates a notification by posting the updated notification to the server.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited