aliasedInterfaceType property

  1. @override
InterfaceType? get aliasedInterfaceType
override

gets the target interface of the type alias if this is an interface type alias or points to another interface type alias.

e.g typedef A = RealInterfaceType typedef B = A

In this case, aliasedInterfaceType will be RealInterfaceType

Implementation

@override
InterfaceType? get aliasedInterfaceType => _getTargetInterfaceType(this);