policyEngine property

PolicyEngineClient get policyEngine

Implementation

PolicyEngineClient get policyEngine {
  final ext = getExtension<PolicyEngineClientImpl>();
  if (ext == null) {
    throw DynamicStateException(
      "PolicyEngine is not installed — call usePolicyEngine(...) when configuring the client",
    );
  }
  return ext;
}