instantiate abstract method
Produces a new function type by substituting type parameters of this
function type with the given argumentTypes
.
The resulting function type has no type parameters.
Implementation
FunctionType instantiate(List<DartType> argumentTypes);