superclass property Null safety

InterfaceType? superclass

Return the type representing the superclass of this type, or null if this type represents the class 'Object'. Note that this is not, in general, equivalent to getting the superclass from this type's element because the type returned by this method will have had it's type parameters replaced.


InterfaceType? get superclass;