ConstructorBuilder class abstract

Constructors

ConstructorBuilder()
factory

Properties

annotations ↔ ListBuilder<Expression>
Annotations as metadata on the node.
getter/setter pair
body Code?
Body of the constructor.
getter/setter pair
constant bool
Whether the constructor should be prefixed with const.
getter/setter pair
docs ↔ ListBuilder<String>
Dart docs.
getter/setter pair
external bool
Whether the constructor should be prefixed with external.
getter/setter pair
factory bool
Whether this constructor should be prefixed with factory.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initializers ↔ ListBuilder<Code>
Constructor initializer statements.
getter/setter pair
lambda bool?
Whether this constructor is a simple lambda expression.
getter/setter pair
name String?
Name of the constructor - optional.
getter/setter pair
optionalParameters ↔ ListBuilder<Parameter>
Optional parameters.
getter/setter pair
redirect Reference?
If non-null, redirect to this constructor.
getter/setter pair
requiredParameters ↔ ListBuilder<Parameter>
Required parameters.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() Constructor
Builds.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(Constructor value) → void
Replaces the value in the builder with a new one.
inherited
toString() String
A string representation of this object.
inherited
update(dynamic updates(ConstructorBuilder)?) → void
Applies updates.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited