readAll method
Gets all documents from the collection
Does NOT refresh automatically
Related: streamAll
- Subclasses: Collection and Repository for subclasses
- Implementations: FirefuelCollection and FirefuelRepository for subclasses
Implementation
@override
Future<List<T>> readAll() async {
final snapshot = await ref.get();
return snapshot.docs.toListT();
}