updateLocalCache method

  1. @protected
Future<void> updateLocalCache(
  1. List<T> items
)
inherited

Updates the local cache with remote data.

This is a placeholder that should be overridden by concrete repository.

Implementation

@protected
Future<void> updateLocalCache(List<T> items) async {
  log.warning('updateLocalCache() not implemented for $T');
  for (final item in items) {
    await saveToLocal(item);
  }
}