delete<T extends _Model> method

dynamic delete <T extends _Model>(
  1. T instance,
  2. {Query query,
  3. ModelRepository<_Model> repository}
)

Remove a model instance

Implementation

delete<T extends _Model>(T instance, {Query query, ModelRepository<_Model> repository});