INotificationsDataSource class Null safety
Notifications data source interface (used by AppDatabase)
- Annotations
- @dao
Constructors
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> -
@Insert()
-
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> -
@Update()
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited