descendantClasses property

  1. @override
List<ModelClassDefinition> get descendantClasses
override

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

@override
List<ModelClassDefinition> get descendantClasses =>
    super.descendantClasses.cast<ModelClassDefinition>().toList();