save abstract method

  1. @protected
  2. @visibleForTesting
Future<T> save(
  1. String key,
  2. T model, {
  3. bool notify = true,
})

Saves model of type T with key in local storage.

By default notifies this modification to the associated GraphNotifier.

Implementation

@protected
@visibleForTesting
Future<T> save(String key, T model, {bool notify = true});