updateAmount

Updates the amount of an Item from the repository.

Parameters

change
The delta to be changed.
id
The id of the Item to be updated.
abstract suspend fun updateAmount(id: String, change: Int)