FormalParameter class abstract
// A node that represents a statement.
//
// statement ::=
// Block
// | VariableDeclarationStatement
// | ForStatement
// | ForEachStatement
// | WhileStatement
// | DoStatement
// | SwitchStatement
// | IfStatement
// | TryStatement
// | BreakStatement
// | ContinueStatement
// | ReturnStatement
// | ExpressionStatement
// | FunctionDeclarationStatement
//
// Clients may not extend, implement or mix-in this class.
A node representing a parameter to a function.
formalParameter ::= SimpleFormalParameter | DefaultFormalParameter
Clients may not extend, implement or mix-in this class.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNamed → bool?
-
Return
true
if this parameter is a named parameter.no setter - isOptional → bool?
-
Return
true
if this parameter is an optional parameter.no setter - isOptionalNamed → bool?
-
Return
true
if this parameter is both an optional and named parameter.no setter - isOptionalPositional → bool?
-
Return
true
if this parameter is both an optional and positional parameter.no setter - isPositional → bool?
-
Return
true
if this parameter is a positional parameter.no setter - name → String?
-
Return the name of the parameter being declared.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited