getItem

abstract fun getItem(id: Int): Flow<DbMatch>

Retrieves a single DbMatch by its ID.

This query will return a Flow that emits the latest data from the database upon subscription and subsequently whenever the data changes.

Return

A Flow emitting the DbMatch entity with the specified ID.

Parameters

id

The ID of the match to be retrieved.