fetchIndividuals method

Future<List<IndividualModel>> fetchIndividuals(
  1. List<String> individualIds,
  2. String? name
)

Implementation

Future<List<IndividualModel>> fetchIndividuals(
  List<String> individualIds,
  String? name,
) async {
  return await individual.search(
    IndividualSearchModel(
      clientReferenceId: individualIds,
      name: name != null ? NameSearchModel(givenName: name.trim()) : null,
    ),
  );
}