saveLocal method
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;
}
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;
}