Library class abstract
- Implemented types
- Annotations
-
- @immutable
Constructors
- Library([void updates(LibraryBuilder)])
-
factory
Properties
-
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
no setter
-
body
→ BuiltList<
Spec> -
no setter
-
comments
→ BuiltList<
String> -
Line comments to place at the start of the library.
no setter
-
directives
→ BuiltList<
Directive> -
no setter
- generatedByComment → String?
-
A comment indicating the tool this library was generated by.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreForFile
→ BuiltList<
String> -
A list of analysis issues to ignore (
ignore_for_file: ...
).no setter - name → String?
-
Name of the library.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept<
R> (SpecVisitor< R> visitor, [R? context]) → R -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(LibraryBuilder)) → Library -
Rebuilds the instance.
inherited
-
toBuilder(
) → LibraryBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited