instantiate method Null safety

FunctionType instantiate(
  1. List<DartType> argumentTypes
)

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);