addOrUpdate abstract method
Adds or updates the given items
in the local repository.
If fromCloud
is true, it indicates that the items are being synced
from the cloud.
Throws an exception if the operation fails.
Implementation
Future<void> addOrUpdate(List<T> items, {bool fromCloud = false});