EnterpriseDependencyGovernanceEngine class
Central Enterprise Dependency Governance Engine.
Features:
- Evaluates direct and dev dependencies from
pubspec.yamlwithout duplicate discovery. - Enforces allowed, restricted, and blocked package registries.
- Checks for license compliance (e.g. GPL vs. MIT/Apache).
- Disallows path/git dependency leaks into production releases.
- Flags known high-risk or vulnerable dependencies.
Constructors
- EnterpriseDependencyGovernanceEngine({required String projectRoot})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- projectRoot → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
auditDependencies(
{String? relativePackagePath, EnterpriseDependencyPolicy policy = const EnterpriseDependencyPolicy(), Map< String, String> ? packageLicenses, List<String> ? knownVulnerablePackages, DateTime? executionTimestamp}) → Future<DependencyGovernanceResult> - Evaluates package dependencies against an enterprise dependency policy.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited