DetectedString class

A detected string literal with metadata

Constructors

DetectedString({required String value, required int line, required int column, required int confidence, required StringCategory category, required String context, required bool hasInterpolation, required bool isPlural, required String snippet})
const

Properties

category StringCategory
Classification category
final
column int
Column number in source file
final
confidence int
Confidence score (0-100) that this is a UI string
final
context String
Context where the string was found (e.g., 'Text widget', 'AppBar title')
final
hashCode int
The hash code for this object.
no setterinherited
hasInterpolation bool
Whether this string has interpolation
final
isPlural bool
Whether this is part of a plural pattern
final
line int
Line number in source file
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snippet String
Raw code snippet showing usage
final
value String
The string value
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