DataProvider<T extends Modelable> constructor

DataProvider<T extends Modelable>(
  1. Service<T> _service,
  2. T factoryFunc(), {
  3. bool createIfDontExist = true,
  4. bool assignUserIdOnCreate = true,
  5. bool assignUserIdOnUpdate = true,
})

Creates a new SingleDataProvider.

Implementation

DataProvider(
  this._service,
  this.factoryFunc, {
  this.createIfDontExist = true,
  this.assignUserIdOnCreate = true,
  this.assignUserIdOnUpdate = true,
});