TypeParameterType constructor

TypeParameterType(
  1. String name, {
  2. required DartType bound,
  3. bool isNullable = false,
  4. DartType? promotedBound,
})

Creates a new TypeParameterType with the given properties.

Implementation

TypeParameterType(
  this.name, {
  required this.bound,
  super.isNullable = false,
  this.promotedBound,
});