upsert<TModel extends ManagedModel> abstract method
Insert or update a model in all Providers
Optionally, the repository can
be passed to the same provider method with a named argument (repository: this
) to use in
the Adapter.
Implementation
// ignore: always_declare_return_types
upsert<TModel extends ManagedModel>(TModel model, {Query query});