On this page
Invocation.method constructor
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]) =>
_Invocation.method(memberName, null, positionalArguments, namedArguments);
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/Invocation/Invocation.method.html