ScanService class

Orchestrates a full dependency-health scan.

Parses the target pubspec.yaml, fetches package metadata from pub.dev and GitHub, then delegates scoring to RiskScorer.

Constructors

ScanService({DiskCache? cache})
Creates a ScanService, optionally injecting a custom DiskCache.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scan(String pubspecPath, ScanOptions opts) Future<ProjectDiagnosis>
toString() String
A string representation of this object.
inherited

Operators

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