Constructor class abstract
- Annotations
-
- @immutable
Constructors
- Constructor([void updates(ConstructorBuilder)])
-
factory
Properties
-
annotations
→ BuiltList<
Expression> -
Annotations as metadata on the node.
no setter
- body → Code?
-
Body of the method.
no setter
- constant → bool
-
Whether the constructor should be prefixed with
const
.no setter -
docs
→ BuiltList<
String> -
Dart docs.
no setter
- external → bool
-
Whether the constructor should be prefixed with
external
.no setter - factory → bool
-
Whether this constructor should be prefixed with
factory
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
initializers
→ BuiltList<
Code> -
Constructor initializer statements.
no setter
- lambda → bool?
-
Whether this constructor is a simple lambda expression.
no setter
- name → String?
-
Name of the constructor - optional.
no setter
-
optionalParameters
→ BuiltList<
Parameter> -
Optional parameters.
no setter
- redirect → Reference?
-
If non-null, redirect to this constructor.
no setter
-
requiredParameters
→ BuiltList<
Parameter> -
Required parameters.
no setter
- 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
-
rebuild(
dynamic updates(ConstructorBuilder)) → Constructor -
Rebuilds the instance.
inherited
-
toBuilder(
) → ConstructorBuilder -
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