List<ElementType> superChainRaw

Source

List<ElementType> get superChainRaw {
  List<ElementType> typeChain = [];
  var parent = _supertype;
  while (parent != null) {
    typeChain.add(parent);
    parent = (parent.element as Class)._supertype;
  }
  return typeChain;
}