TypeHierarchyItem constructor

TypeHierarchyItem(
  1. Element classElement, {
  2. String? displayName,
  3. Element? memberElement,
  4. int? superclass,
  5. List<int>? interfaces,
  6. List<int>? mixins,
  7. List<int>? subclasses,
})

Implementation

TypeHierarchyItem(this.classElement,
    {this.displayName,
    this.memberElement,
    this.superclass,
    List<int>? interfaces,
    List<int>? mixins,
    List<int>? subclasses})
    : interfaces = interfaces ?? <int>[],
      mixins = mixins ?? <int>[],
      subclasses = subclasses ?? <int>[];