Einzeldokument von Firestore zu einem Dart -Objekt
Stream<List<VehicleCommentSessionModel>> getSomeoneCommentsList(
{@required String sellerId}) {
return _fbd
.collection('comments')
.where('sellerId', isEqualTo: sellerId)
.snapshots()
.map((qSnap) => qSnap.docs
.map((doc) => VehicleCommentSessionModel.fromJson(doc.data()))
.toList());
}
Lovely Lyrebird