getAssigns method
Get assingees of the task
Implementation
Future<List<Assign>> getAssigns(String taskId) async {
final snapshot = await assignCol.where('taskId', isEqualTo: taskId).get();
return snapshot.docs.map((e) => Assign.fromSnapshot(e)).toList();
}