Dokumen tunggal dari Firestore ke objek DART
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