Library class Null safety
- Implemented types
- Annotations
-
- @immutable
Constructors
- Library([void updates(LibraryBuilder)])
-
factory
Properties
-
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
read-only
-
body
→ BuiltList<
Spec> -
read-only
-
directives
→ BuiltList<
Directive> -
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name → String?
-
Name of the library.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
accept<
R> (SpecVisitor< R> visitor, [R? context]) → R -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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