Library class
Represents a Library containing optional DocComments, Annotations, DartFunctions and Classes
See: https://www.tutorialspoint.com/dart_programming/dart_programming_libraries.htm#:~:text=A%20library%20in%20a%20programming,typedefs%2C%20properties%2C%20and%20exceptions.
Constructors
-
Library({String? name, List<
DocComment> ? docComments, List<Annotation> ? annotations, List<DartFunction> ? functions, List<Class> ? classes})
Properties
-
annotations
→ List<
Annotation> ? -
final
-
classes
→ List<
Class> ? -
final
-
docComments
→ List<
DocComment> ? -
final
-
functions
→ List<
DartFunction> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- libraryStatement → Statement?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
codeNodes(
Context context) → List< CodeNode> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUnFormattedString(
Context context) → String -
Recursive call to get the unformatted code from all nodes
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited