Parameter class final

An parameter declared as part of an ParameterList.

Implemented types

Constructors

Parameter(String name, FileSpan span, {Expression? defaultValue})

Properties

defaultValue → Expression?
The default value of this parameter, or null if none was declared.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The parameter name.
final
nameSpan → FileSpan
The span containing this declaration's name.
no setteroverride
originalName → String
The variable name as written in the document, without underscores converted to hyphens and including the leading $.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
The source span associated with the node.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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