saveLocal method

T saveLocal(
  1. T model, {
  2. bool notify = true,
})
inherited

Implementation

T saveLocal(T model, {bool notify = true}) {
  if (model._key == null) {
    throw Exception("Model must be initialized:\n\n$model");
  }
  localAdapter.save(model._key!, model, notify: notify);
  return model;
}