StreamFirebaseDataSource<T extends BaseEntityDataModel> constructor
StreamFirebaseDataSource<T extends BaseEntityDataModel> ({})
Creates a new instance of StreamFirebaseDataSource.
The path parameter specifies the Firestore collection path.
The builder parameter is a function to build the data model from JSON.
Implementation
StreamFirebaseDataSource({
required this.path,
this.builder,
});