SourceNode class Null safety

Source node represents source file and it's imports

Constructors

SourceNode({required String url, required DocumentNode document, Set<SourceNode> imports = const {}})
const

Properties

document → DocumentNode
final
flatDocument → DocumentNode
Returns flattened Document as a temporary solution before existing builders have adopted SourceNode
read-only
hashCode int
The hash code for this object.
read-onlyinherited
imports Set<SourceNode>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
url String
final

Methods

getRefs() Set<Reference>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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