extendedTransition method

  1. @override
DeterministicState extendedTransition(
  1. DeterministicState state,
  2. String input
)
override

Implementation

@override
DeterministicState extendedTransition(
  DeterministicState state,
  String input,
) {
  if (input.isEmpty) return state;
  return extendedTransition(
    state.executeTransition(input[0]),
    input.substring(1),
  );
}