fetchTaskbyProjectBeneficiary method
Future<List<TaskModel> >
fetchTaskbyProjectBeneficiary(
- List<
ProjectBeneficiaryModel> projectBeneficiaries
Implementation
Future<List<TaskModel>> fetchTaskbyProjectBeneficiary(
List<ProjectBeneficiaryModel> projectBeneficiaries,
) async {
return await taskDataRepository.search(TaskSearchModel(
projectBeneficiaryClientReferenceId:
projectBeneficiaries.map((e) => e.clientReferenceId).toList(),
));
}