W3cubDocs

/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.

Implementation

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-core/Invocation/Invocation.method.html