ConstructorFragment class abstract

The portion of a ConstructorElement contributed by a single declaration.

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

Implemented types

Constructors

ConstructorFragment()

Properties

children → 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 → ConstructorElement
The element composed from this fragment and possibly other fragments.
no setteroverride
enclosingFragment → InstanceFragment?
The fragment that either physically or logically encloses this fragment.
no setteroverride
factoryKeywordOffset → int?
The offset of the factory keyword.
no setter
formalParameters → List<FormalParameterFragment>
The formal parameters defined by this fragment.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isAsynchronous → bool
Whether the body is marked as being asynchronous.
no setterinherited
isAugmentation → bool
Whether the element is an augmentation.
no setterinherited
isGenerator → bool
Whether the body is marked as being a generator.
no setterinherited
isOriginExtensionTypeRecovery → bool
Whether the constructor represents the recovery constructor of an extension type when no introductory declaration is present in the library.
no setter
isSynchronous → bool
Whether the body is marked as being synchronous.
no setterinherited
libraryFragment → LibraryFragment
The library fragment that contains this fragment.
no setterinherited
metadata → Metadata
The metadata associated with the fragment.
no setterinherited
name → String
The name of the fragment.
no setteroverride
nameOffset → int?
The offset of the name of this element.
no setterinherited
newKeywordOffset → int?
The offset of the new keyword.
no setter
nextFragment → ConstructorFragment?
The next fragment in the augmentation chain.
no setteroverride
offset → int
The offset of the constructor name.
no setteroverride
periodOffset → int?
The offset of the . before the name.
no setter
previousFragment → ConstructorFragment?
The previous fragment in the augmentation chain.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thisKeywordOffset → int?
The offset of the this keyword, if this fragment is based on PrimaryConstructorDeclaration and has PrimaryConstructorBody.
no setter
typeName → String?
The specified name of the type (e.g. class).
no setter
typeNameOffset → int?
The offset of the type (e.g. class) name.
no setter
typeParameters → List<TypeParameterFragment>
The type parameters declared by this fragment directly.
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