intlSelectLogic method

T intlSelectLogic(
  1. Object choice
)

Internal: Implements the logic for select - use intlSelect for normal messages.

choice: The choice used to select the appropriate message.

Returns the selected value from the map based on the provided choice.

This method is typically used internally for implementing select logic.

Implementation

T intlSelectLogic(Object choice) => Intl.selectLogic(choice, this);