put method Null safety

Future<bool> put(
  1. K key,
  2. T item,
  3. {bool overrideExistingItem = true}
)

Saves an item Returns true if the item was saved

Implementation

Future<bool> put(
  K key,
  T item, {
  bool overrideExistingItem = true,
});