Creates an invocation corresponding to a generic method invocation.
If typeArguments is null or empty, the constructor is equivalent to calling Invocation.method with the remaining arguments. All the individual type arguments must be non-null.
If the named arguments are omitted, they default to no named arguments.
factory Invocation.genericMethod(Symbol memberName,
Iterable<Type> typeArguments, Iterable<Object> positionalArguments,
[Map<Symbol, Object> namedArguments]) =>
_Invocation.method(
memberName, typeArguments, positionalArguments, namedArguments);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/Invocation/Invocation.genericMethod.html