thisType property

  1. @override
InterfaceType thisType
override

The type of this expression.

For a class like class MyClass<T, U> {} the returned type is equivalent to the type MyClass<T, U>. So, the type arguments are the types of the type parameters, and either none or star is used for the nullability suffix is used, depending on the nullability status of the declaring library.

Implementation

@override
InterfaceType get thisType;