Argument class Null safety AST

An argument declared as part of an ArgumentDeclaration.

Implemented types
Annotations

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. [...]
read-only, inherited
name String
The argument name.
final
nameSpan FileSpan
The span containing this declaration's name. [...]
read-only, override
originalName String
The variable name as written in the document, without underscores converted to hyphens and including the leading $. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
span FileSpan
The source span associated with the node. [...]
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited