InboxFunctions class abstract mixin

A mixin that contains functions for the inbox.

The functions are used in the FirestoreService class. You can call functions from this mixin as follows:

ref.read(firestoreServiceProvider).getNotifications();
Implementers

Constructors

InboxFunctions()

Properties

hashCode int
The hash code for this object.
no setterinherited
instance FirebaseFirestore
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getNotifications() Stream<DocumentSnapshot<List<InboxNotification>?>>
Returns a stream of notifications.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseNotifications(DocumentSnapshot<Map<String, dynamic>> snapshot) List<InboxNotification>?
Parses the notifications from the snapshot.
toString() String
A string representation of this object.
inherited

Operators

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