MethodInvocation class
The invocation of either a function or a method.
Invocations of functions resulting from evaluating an expression are represented by FunctionExpressionInvocation nodes. Invocations of getters and setters are represented by either PrefixedIdentifier or PropertyAccess nodes.
methodInvocation ::=
(AstNode
'.')? SimpleIdentifier TypeArgumentList
? ArgumentList
- Implemented types
Constructors
-
MethodInvocation(AstRuntimeNode? callee, List<
AstRuntimeNode> argumentList, bool isNullAware)
Properties
-
argumentList
↔ List<
AstRuntimeNode> -
getter/setter pair
- callee ↔ AstRuntimeNode?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNullAware ↔ bool
-
getter/setter pair
- 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
Static Methods
-
fromAst(
Map? ast) → MethodInvocation?