ArgumentInvocation class final

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

Implemented types

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.
no setterinherited
isEmpty → bool
Returns whether this invocation passes no arguments.
no setter
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.
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