src/States/ChoiceState.cs
/// <summary>
///     OPTIONAL. Name of state to transition to if no {@link Choice} rules match. If a default state is not provided and
///     no
///     choices match then a  <see cref="ErrorCodes.NO_CHOICE_MATCHED" /> error is thrown.
/// </summary>
/// <param name="defaultStateName">Name of default state.</param>
/// <returns>This object for method chaining.</returns>
OPTIONAL. Name of state to transition to if no  Choice rules match. If a default state is not provided and
no
choices match then a   error is thrown.
OPTIONAL . Name of state to transition to if no Choice rules match . If a default state is not provided and no choices match then a error is thrown .
public Builder DefaultStateName(string defaultStateName)
            {
                _defaultStateName = defaultStateName;
                return this;
            }
public Builder DefaultStateName ( string defaultStateName ) { _defaultStateName = defaultStateName ; return this ; }
OPTIONAL.
OPTIONAL .
This object for method chaining.
This object for method chaining .
defaultStateName
string
Name of default state.
Name of default state .