# Invocation.genericMethod constructor

Invocation.genericMethod(Symbol memberName, Iterable<Type> typeArguments, Iterable<Object> positionalArguments, [ Map<Symbol, Object> namedArguments ])

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

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