translate static method

String translate(
  1. String key,
  2. Map<String, String> traducoes
)

Implementation

static String translate(String key, Map<String, String> traducoes) =>
    traducoes[key] ?? key;