Nfa constructor

Nfa({
  1. required NfaState start,
  2. required NfaState end,
})

Creates an NFA with given start and end states.

Implementation

new({required this.start, required this.end});