NmResponseRule constructor

const NmResponseRule({
  1. required String id,
  2. required String name,
  3. bool enabled = true,
  4. required int priority,
  5. required NmResponseChannel channel,
  6. required NmResponseMatcher matcher,
  7. List<NmResponseEffect> effects = const [],
  8. NmSemanticOutcome? outcome,
})

Creates a NmResponseRule.

Implementation

const NmResponseRule({
  required this.id,
  required this.name,
  this.enabled = true,
  required this.priority,
  required this.channel,
  required this.matcher,
  this.effects = const [],
  this.outcome,
});