typeParameters property

  1. @override
List<TypeParameterType> get typeParameters
override

The type parameters of this parameter.

Implementation

@override
List<TypeParameterType> get typeParameters {
  final DartType type = this.type;
  if (type is FunctionType) {
    return type.typeParameters;
  }
  return <TypeParameterType>[];
}