FirebaseRepository<T extends DBModelI> constructor

FirebaseRepository<T extends DBModelI>(
  1. String type
)

A repository that can be used to add, query, update and delete document from Firestore.

Should implement FirebaseRepository.fromSnapshot and FirebaseRepository.toMap to work with the given type of DBModel

Implementation

FirebaseRepository(this.type);