listServicesByAssociationId method

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

Implementation

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