/Dart 2

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.


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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.