delete<_Model extends _ManagedModel> method Null safety

dynamic delete<_Model extends _ManagedModel>(
  1. _Model instance,
  2. {Query query}
)

Delete a model from 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
delete<_Model extends _ManagedModel>(_Model instance, {Query query});