listServicesLinkedTo method

Future<List<DecryptedServiceDto>> listServicesLinkedTo(
  1. UserDto user,
  2. ListOfIdsDto listOfIdsDto,
  3. String? linkType,
  4. Crypto crypto,
)

Implementation

Future<List<DecryptedServiceDto>> listServicesLinkedTo(UserDto user, ListOfIdsDto listOfIdsDto, String? linkType, Crypto crypto) async {
  return await crypto.decryptServices(user.dataOwnerId()!, null, (await this.rawGetServicesLinkedTo(listOfIdsDto, linkType: linkType)) ?? []);
}