FirestoreService<T extends Modelable> constructor

FirestoreService<T extends Modelable>(
  1. String repositoryId,
  2. T fromModelFactory(
    1. Model
    ), {
  3. dynamic onDocUpdate(
    1. Model,
    2. bool
    )?,
})

Implementation

FirestoreService(super.repositoryId, super.fromModelFactory,
    {Function(Model, bool)? onDocUpdate}) {
  super.repository = FirestoreCollection(
      collectionId: repositoryId, onDocUpdate: onDocUpdate);
}