Automaton constructor

const Automaton({
  1. String? accept,
  2. String? branchResult,
  3. String placeholder = '{{@state}}',
  4. String? reject,
  5. String result = 'null',
  6. required String template,
})

Implementation

const Automaton({
  this.accept,
  this.branchResult,
  this.placeholder = '{{@state}}',
  this.reject,
  this.result = 'null',
  required this.template,
});