Adds a when clause to the case statement.
when
A when call must be followed by a CaseThenBuilder.then call.
Adds a
whenclause to the case statement.A
whencall must be followed by a CaseThenBuilder.then call.