afterSave method

Future<void> afterSave({
  1. Provider<Model>? provider,
  2. ModelRepository<Model>? repository,
})

Hook invoked after the model is successfully entered in the SQLite database. Useful to update or save associations.

Implementation

Future<void> afterSave({Provider? provider, ModelRepository? repository}) async {}