ArgumentInvocation class Null safety AST

A set of arguments passed in to a function or mixin.

Implemented types
Annotations

Constructors

ArgumentInvocation(Iterable<Expression> positional, Map<String, Expression> named, FileSpan span, {Expression? rest, Expression? keywordRest})
ArgumentInvocation.empty(FileSpan span)
Creates an invocation that passes no arguments.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isEmpty bool
Returns whether this invocation passes no arguments.
read-only
keywordRest Expression?
The second rest argument, which is expected to only contain a keyword map.
final
named Map<String, Expression>
The arguments passed by name.
final
positional List<Expression>
The arguments passed by position.
final
rest Expression?
The first rest argument (as in $args...).
final
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