update method
Updates an existing cacheObject
Implementation
@override
Future<int> update(
CacheObject cacheObject, {
bool setTouchedToNow = true,
}) async {
if (cacheObject.id == null) {
throw ArgumentError('Updated objects should have an existing id.');
}
_put(cacheObject, setTouchedToNow);
return 1;
}