findById method
Implementation
Future<NotificationMessageData?> findById(int notificationMessageId) async {
return await (db.select(
db.notificationMessage,
)..where((e) => e.id.equals(notificationMessageId))).getSingleOrNull();
}
Future<NotificationMessageData?> findById(int notificationMessageId) async {
return await (db.select(
db.notificationMessage,
)..where((e) => e.id.equals(notificationMessageId))).getSingleOrNull();
}