Parameter class Null safety

Implemented types

Constructors

Parameter([void updates(ParameterBuilder)])
factory

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(ParameterBuilder)) Parameter
Rebuilds the instance. [...]
inherited
toBuilder() ParameterBuilder
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