listDeletedByName method
Future<List<DecryptedPatientDto> >
listDeletedByName(
- UserDto user,
- String? firstName,
- String? lastName,
- CryptoConfig<
DecryptedPatientDto, PatientDto> config,
Implementation
Future<List<DecryptedPatientDto>> listDeletedByName(UserDto user, String? firstName, String? lastName, CryptoConfig<DecryptedPatientDto, PatientDto> config) async {
return Future.wait((await this.rawListDeletedPatientsByName(firstName: firstName, lastName: lastName))!.map((it) => config.decryptPatient(user.dataOwnerId()!, it)));
}