ParameterBuilder class Null safety

Implemented types

Constructors

ParameterBuilder()
factory

Properties

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

Methods

build() Parameter
Builds.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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