import '../domain/policy_check_result.dart';
import '../domain/policy_repository.dart';

/// Use case: retrieve all policy-check results from the repository.
class GetPolicyChecks {
  final PolicyRepository repository;

  GetPolicyChecks(this.repository);

  Future<List<PolicyCheckResult>> call() => repository.getPolicyChecks();
}
