setLocale static method

void setLocale(
  1. String? locale
)

Sets the application's locale. Useful only if MapKit is not used by the application. Otherwise, use {@code mapkit.MapKitFactory.setLocale()}. Also useless if someone else has already set the locale (produses warning and does nothing). Can be set to none, in this case system locale will be used.

Implementation

static void setLocale(core.String? locale) {
  _setLocale(
    locale,
  );
}