Representation of the invocation of a member on an object.

This is the type of objects passed to Object.noSuchMethod when an object doesn't support the member invocation that was attempted on it.

Properties

isAccessor bool
read-only

Whether the invocation was a getter or a setter call.

isGetter bool
read-only

Whether the invocation was a getter call. If so, both types of arguments is empty.

isMethod bool
read-only

Whether the invocation was a method call.

isSetter bool
read-only

Whether the invocation was a setter call.

memberName Symbol
read-only

The name of the invoked member.

namedArguments Map<Symbol>
read-only

An unmodifiable view of the named arguments of the call.

positionalArguments List
read-only

An unmodifiable view of the positional arguments of the call.

Constructors

Invocation()