NotificationRepository class Null safety

Notifications repository implementation for INotificationRepository

Inheritance

Constructors

NotificationRepository()

Properties

dataSource INotificationsDataSource
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete(int notifId) Future
Update a notification having the id notifId
override
getList() Future<List<AppNotification>>
Load the list of notifications and return is as list of AppNotification
override
insert(AppNotification notif) Future
Insert a new notification (when received)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
update(AppNotification notif) Future
Update a notification
override

Operators

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