Invocation.genericMethod constructor
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.
Implementation
@pragma("wasm:entry-point")
factory Invocation.genericMethod(
Symbol memberName,
Iterable<Type>? typeArguments,
Iterable<Object?>? positionalArguments, [
Map<Symbol, Object?>? namedArguments,
]) => _Invocation.method(
memberName,
typeArguments,
positionalArguments,
namedArguments,
);