ConstructorBuilder class Null safety
- Implemented types
Constructors
- ConstructorBuilder()
-
factory
Properties
-
annotations
↔ ListBuilder<
Expression> -
Annotations as metadata on the node.
read / write
- body ↔ Code?
-
Body of the constructor.
read / write
- constant ↔ bool
-
Whether the constructor should be prefixed with
const
.read / write -
docs
↔ ListBuilder<
String> -
Dart docs.
read / write
- external ↔ bool
-
Whether the constructor should be prefixed with
external
.read / write - factory ↔ bool
-
Whether this constructor should be prefixed with
factory
.read / write - hashCode → int
-
The hash code for this object.
read-onlyinherited
-
initializers
↔ ListBuilder<
Code> -
Constructor initializer statements.
read / write
- lambda ↔ bool?
-
Whether this constructor is a simple lambda expression.
read / write
- name ↔ String?
-
Name of the constructor - optional.
read / write
-
optionalParameters
↔ ListBuilder<
Parameter> -
Optional parameters.
read / write
- redirect ↔ Reference?
-
If non-null, redirect to this constructor.
read / write
-
requiredParameters
↔ ListBuilder<
Parameter> -
Required parameters.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
build(
) → Constructor -
Builds.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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