NmResponseRule constructor
const
NmResponseRule({
- required String id,
- required String name,
- bool enabled = true,
- required int priority,
- required NmResponseChannel channel,
- required NmResponseMatcher matcher,
- List<
NmResponseEffect> effects = const [], - 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,
});