getParticipants method
- String id
Returns the participants of an activity with the given id.
Implementation
Future<Map<String, dynamic>?> getParticipants(String id) =>
instance.collection('participants').doc(id).get().then((doc) {
return doc.data();
});