NfaState constructor

NfaState({
  1. required bool isEnd,
})

Creates an NFA state, marked as accepting when isEnd is true.

Implementation

new({required this.isEnd});