class_switch_generator library

class_switch_generator is the dev dependency generator for the class_switch library which generates switch functions and helper classes letting you switch over all the sub-classes of an annotated class. When multiple classes are provided you can switch over all possible combinations of sub-classes of the provided classes.

Please see https://pub.dev/packages/class_switch for the