fetchHouseholdMembers method

Future<List<HouseholdMemberModel>> fetchHouseholdMembers(
  1. String? householdClientReferenceId,
  2. String? individualClientReferenceId,
  3. bool? isHeadOfHousehold
)

Implementation

Future<List<HouseholdMemberModel>> fetchHouseholdMembers(
  String? householdClientReferenceId,
  String? individualClientReferenceId,
  bool? isHeadOfHousehold,
) async {
  return await householdMember.search(
    HouseholdMemberSearchModel(
      householdClientReferenceId: [householdClientReferenceId.toString()],
      individualClientReferenceId: [individualClientReferenceId.toString()],
      isHeadOfHousehold: isHeadOfHousehold,
    ),
  );
}