getTranslatedString method

String getTranslatedString(
  1. String name,
  2. String defaultValue
)

Translate string by translateFunc.

Implementation

String getTranslatedString(String name, String defaultValue) {
  return translateFunc.call(name, defaultValue);
}