extractLocalized method

String? extractLocalized(
  1. String s
)

Extracts substring of preferred language from multilingual string using the preferredLanguage setting.

Implementation

String? extractLocalized(String s) {
  return MapDataStore.extract(s, preferredLanguage);
}