Invocation.method constructor

Invocation.method(Symbol memberName, Iterable<Object> positionalArguments, [ Map<Symbol, Object> namedArguments ])

Creates an invocation corresponding to a method invocation.

The method invocation has no type arguments. If the named arguments are omitted, they default to no named arguments.

Implementation

factory Invocation.method(
        Symbol memberName, Iterable<Object> positionalArguments,
        [Map<Symbol, Object> namedArguments]) =>
    new _Invocation.method(
        memberName, null, positionalArguments, namedArguments);