ParameterBuilder class abstract

Constructors

ParameterBuilder()
factory

Properties

annotations ↔ ListBuilder<Expression>
Annotations as metadata on the node.
getter/setter pair
covariant bool
Whether this parameter should be annotated with the covariant keyword.
getter/setter pair
defaultTo Code?
If not null, a default assignment if the parameter is optional.
getter/setter pair
docs ↔ ListBuilder<String>
Dart docs.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the parameter.
latefinal
named bool
Whether this parameter should be named, if optional.
getter/setter pair
required bool
Whether this parameter should be annotated with the required keyword.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toSuper bool
Whether this parameter should be passed to super
constructor (i.e. super.).
getter/setter pair
toThis bool
Whether this parameter should be field formal (i.e. this.).
getter/setter pair
type Reference?
Type of the parameter;
getter/setter pair
types ↔ ListBuilder<Reference>
Generic type parameters.
getter/setter pair

Methods

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

Operators

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