put method

void put(
  1. String language,
  2. dynamic value
)

Puts a new translation for the specified language.

  • language a language two-symbol code.
  • value a new translation for the specified language.

Implementation

void put(String language, value) {
  _values[language] = StringConverter.toNullableString(value);
}