initializeLocalizedName function

Future<void> initializeLocalizedName()

Loads localized country names based on the device’s locale. Must be called before accessing localizedName. It is recommended to call this function in the main function before running the app.

Implementation

Future<void> initializeLocalizedName() async {
  await WorldInfoPlus._initializeLocalizedName();
}