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