descendantClasses property

List<ModelClassDefinition> get descendantClasses

Returns a list of all descendant classes. This includes all child classes and their descendants. If the class has no child classes, an empty list is returned.

Implementation

List<ModelClassDefinition> get descendantClasses {
  return _descendantClasses ??= _computeDescendantClasses();
}