ScanOptions class

Configuration for a ScanService.scan run.

Constructors

ScanOptions({bool includeDev = false, bool fresh = false, bool offline = false, bool verbose = false, int concurrency = 8})
Creates a ScanOptions with sensible defaults.
const

Properties

concurrency int
Maximum number of concurrent HTTP requests.
final
fresh bool
When true, bypasses the disk cache and fetches fresh data from the network even if a valid cached entry exists.
final
hashCode int
The hash code for this object.
no setterinherited
includeDev bool
Whether to include dev_dependencies in the scan.
final
offline bool
Restricts the scan to cached data only — no network calls are made.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbose bool
Enables verbose signal output in the CLI reporter.
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