fetchTaskByProjectBeneficiary method

Future<List<TaskModel>> fetchTaskByProjectBeneficiary(
  1. List<ProjectBeneficiaryModel> projectBeneficiaries
)

Implementation

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