notificacion desde cita

This commit is contained in:
Felipe
2023-08-22 09:51:09 -05:00
parent 091c67d4cb
commit fe2787b233
18 changed files with 75 additions and 61 deletions
-5
View File
@@ -74,7 +74,6 @@ Future<List<Event>> getByProId(String day) async {
event.id = element.id;
eventos.add(event);
}
print('eventos $eventos');
return eventos;
} catch (e) {
print('Error getByProId $e');
@@ -96,7 +95,6 @@ Future<List<Event>> getByProIdAll(String state1, String state2) async {
event.id = element.id;
eventos.add(event);
}
print('eventos $eventos');
return eventos;
} catch (e) {
print('Error getByProId $e');
@@ -118,7 +116,6 @@ Future<List<Event>> getByUserIdAll(String state1, String state2) async {
event.id = element.id;
eventos.add(event);
}
print('eventos $eventos');
return eventos;
} catch (e) {
print('Error getByUserId $e');
@@ -211,7 +208,6 @@ class Event {
for (var element in snapshot.docs) {
eventos.add(Event.fromJson(element.data()));
}
print('eventos $eventos');
return eventos;
} catch (e) {
print('Error getByProId $e');
@@ -232,7 +228,6 @@ class Event {
for (var element in snapshot.docs) {
eventos.add(Event.fromJson(element.data()));
}
print('eventos $eventos');
return eventos;
} catch (e) {
print('Error getByProId $e');