save method

  1. @override
Future<E> save(
  1. E item
)
override

Saves the given item, overriding any previous entries.

Implementation

@override
Future<E> save(E item) async {
  final savedItem = await _inner.save(item);
  _addUpdate(item);
  return savedItem;
}