INotificationsDataSource class Null safety

Notifications data source interface (used by AppDatabase)

Annotations

Constructors

INotificationsDataSource()

Properties

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 id) Future<void>
@Query('DEETE FROM NotificationModel where id = :id')
getAll() Future<List<NotificationModel>>
@Query('SELECT * FROM NotificationModel')
getById(int id) Future<NotificationModel?>
@Query('SELECT * FROM NotificationModel WHERE id = :id')
insert(NotificationModel notif) Future<void>
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(NotificationModel notif) Future<void>

Operators

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