setLocalizationOptions function

LocalizationOptions setLocalizationOptions(
  1. LocalisationCode? code
)

Set localization options (translations) to this report mode

Implementation

LocalizationOptions setLocalizationOptions(LocalisationCode? code) {
  _localizationOptions = LocalizationOptions._localizationMessages[code ?? LocalisationCode.en];
  return _localizationOptions ?? LocalizationOptions(LocalisationCode.en);
}