addTypeArgument method

void addTypeArgument(
  1. DartType type
)

Adds a type argument to this function reference.

Used when the referenced function has generic type parameters.

@param type The type argument to add

Implementation

void addTypeArgument(DartType type) {
  _typeArguments.add(type);
}