SymbolInfo class

Semantic facts about one declaration, independent of its source position.

Constructors

SymbolInfo({required String name, required SymbolCategory category, required String signature, String? container, String? typeName, List<String> modifiers = const []})
const

Properties

category → SymbolCategory
final
container → String?
Enclosing class/enum name, or null at top level.
final
hashCode → int
The hash code for this object.
no setterinherited
modifiers → List<String>
final
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
A one-line signature, e.g. User findUser(int id).
final
typeName → String?
The declared/return type name, if meaningful.
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