SwitchCase constructor

SwitchCase(
  1. Object? value, {
  2. required Object? then,
})

Implementation

SwitchCase(Object? value, {required Object? then})
  : value = normalizeExpression(value),
    thenActions = normalizeActionSequence(then, parameterName: 'then');