Argument class final AST

An argument declared as part of an ArgumentDeclaration.

Implemented types

Constructors

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

Properties

defaultValue Expression?
The default value of this argument, or null if none was declared.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The argument 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