Rule constructor

Rule({
  1. required String name,
  2. required Event event,
  3. List<Component> conditions = const [],
  4. required List<Component> child,
})

Implementation

Rule({
    required this.name,
    required this.event,
    this.conditions = const [],
    required this.child
}) : super('ruleBlock');