Nfa<T> copyWith({ NfaState<T>? accept, NfaState<T>? initial, }) { return Nfa(accept: accept ?? this.accept, initial: initial ?? this.initial); }