StateDetector class

Detects v5-style mixed state classes that lack the v6 DomainState/ViewState split.

v5 pattern: A single XxxState class with both domain data fields (entity references) and UI state fields (isLoading, error). v6 pattern: XxxDomainState (data only, bound to UseCase slices) + XxxViewState (transient UI state: tabs, scroll position).

Inheritance

Constructors

StateDetector()

Properties

detectorId → String
no setteroverride
displayName → String
no setteroverride
globs → List<String>
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

detect(String projectDir) → Future<DetectorResult>
override
lineNumberAt(String content, int offset) → int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFile(String absolutePath) → String?
inherited
relativePathOf(String absolute, String base) → String
inherited
shouldScan(String relativePath) → bool
inherited
toString() → String
A string representation of this object.
inherited

Operators

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