getAllNotes

abstract fun getAllNotes(): Flow<List<Note>>

Retrieves all notes from the 'notes' table, ordered by timestamp in descending order (newest first). This method returns a Flow of a list of notes. The Flow will automatically emit a new list whenever the data in the 'notes' table changes, allowing the UI to reactively update.

Return

A Flow emitting a list of all Note objects.