listServicesByHealthElementId method

Future<List<DecryptedServiceDto>> listServicesByHealthElementId(
  1. UserDto user,
  2. String healthElementId,
  3. Crypto crypto
)

Implementation

Future<List<DecryptedServiceDto>> listServicesByHealthElementId(UserDto user, String healthElementId, Crypto crypto) async {
  return await crypto.decryptServices(user.dataOwnerId()!, null, (await this.rawListServicesByHealthElementId(healthElementId)) ?? []);
}