EnterpriseDependencyPolicy class

Comprehensive dependency governance policy definition.

Constructors

EnterpriseDependencyPolicy({List<String> approvedPackages = const ['flutter', 'flutter_test', 'http', 'path', 'meta', 'collection'], List<String> restrictedPackages = const [], List<String> blockedPackages = const [], List<String> allowedLicenses = const ['MIT', 'Apache-2.0', 'BSD-3-Clause', 'BSD-2-Clause', 'ISC'], List<String> blockedLicenses = const ['GPL-3.0', 'AGPL-3.0', 'SSPL'], bool blockUnapprovedPackages = false, bool blockGitDependencies = true, bool blockPathDependencies = true, bool blockKnownVulnerabilities = true})
const
EnterpriseDependencyPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

allowedLicenses → List<String>
final
approvedPackages → List<String>
final
blockedLicenses → List<String>
final
blockedPackages → List<String>
final
blockGitDependencies → bool
final
blockKnownVulnerabilities → bool
final
blockPathDependencies → bool
final
blockUnapprovedPackages → bool
final
hashCode → int
The hash code for this object.
no setterinherited
restrictedPackages → List<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited