t method

String t(
  1. String de,
  2. String en
)

Implementation

String t(String de, String en) => isGerman ? de : en;