thisType property

InterfaceType get thisType

Return the type of this expression for this class.

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 nullability suffix is used for the type arguments, and the returned type depending on the nullability status of the declaring library.

Implementation

InterfaceType get thisType;