antes de agregar el id

This commit is contained in:
Felipe
2024-04-07 18:03:51 -05:00
parent bfe782e47e
commit 60547febb6
10 changed files with 751 additions and 19 deletions
@@ -407,8 +407,7 @@ class FirebaseUserRepository implements UserRepository {
@override
Future<List<MyUser>> getUsersFromIds(Iterable<String> ids) async {
try {
final querySnapshot =
await usersCollection.where(FieldPath.documentId, whereIn: ids).get();
final querySnapshot = await usersCollection.where(FieldPath.documentId, whereIn: ids).get();
return querySnapshot.docs
.map((e) => MyUser.fromEntity(MyUserEntity.fromDocument(e.data())))