DataProvider<T extends Modelable> constructor
DataProvider<T extends Modelable> (})
Creates a new SingleDataProvider
.
Implementation
DataProvider(
Service<T>? service,
this.factoryFunc, {
this.createIfDontExist = true,
this.assignUserIdOnCreate = true,
this.assignUserIdOnUpdate = true,
}) {
if (service != null) {
this.service = service;
}
}