AuditResult class

The result of auditing a single dependency.

Contains the dependency information, package metadata from pub.dev, the audit status, and any additional messages.

Constructors

AuditResult.new({required DependencyInfo dependency, PackageMetadata? metadata, required AuditStatus status, String? message})
Creates a new AuditResult instance.

Properties

dependency DependencyInfo
The dependency that was audited.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Additional message explaining the status.
final
metadata PackageMetadata?
Metadata fetched from pub.dev (if available).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status AuditStatus
The status determined by the audit.
final

Methods

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