outputs property

Map<Object?, Object> outputs
final

The cases for this switch. Keys correspond to values to compare with input. The null value is used as the default case.

At runtime, if none of the keys match input and there is no null key, the Switch as a whole is treated as if it was missing. If the Switch is used where a ConstructorCall was expected, the result is an ErrorWidget.

Implementation

final Map<Object?, Object> outputs;