TopLevelVariableFragment class abstract

The portion of a TopLevelVariableElement contributed by a single declaration.

Clients may not extend, implement or mix-in this class.

Implemented types

Properties

children List<Fragment>
The children of this fragment.
no setterinherited
children3 List<Fragment>
The children of this fragment.
no setterinherited
documentationComment String?
The content of the documentation comment (including delimiters) for this fragment.
no setterinherited
element TopLevelVariableElement
The element composed from this fragment and possibly other fragments.
no setteroverride
enclosingFragment Fragment?
The fragment that either physically or logically encloses this fragment.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasInitializer bool
Whether the variable has an initializer at declaration.
no setterinherited
isAugmentation bool
Whether the element is an augmentation.
no setterinherited
isSynthetic bool
Whether this fragment is synthetic.
no setterinherited
libraryFragment LibraryFragment
The library fragment that contains this fragment.
no setterinherited
metadata Metadata
The metadata associated with the fragment.
no setterinherited
metadata2 Metadata
The metadata associated with the element or fragment.
no setterinherited
name String?
The name of the fragment.
no setterinherited
name2 String?
The name of the fragment.
no setterinherited
nameOffset int?
The offset of the name of this element.
no setterinherited
nameOffset2 int?
The offset of the name of this element.
no setterinherited
nextFragment TopLevelVariableFragment?
The next fragment in the augmentation chain.
no setteroverride
offset int
A canonical offset to the fragment within the source file.
no setterinherited
previousFragment TopLevelVariableFragment?
The previous fragment in the augmentation chain.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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