setLocale static method

Future setLocale(
  1. String locale
)

Sets the locale for BlueConic parameters and content asynchronously.

The locale determines which language/region-specific content and parameters are loaded from BlueConic. By default, the default locale configured in BlueConic is used.

locale The locale code (e.g., 'en_US', 'de_DE', 'fr_FR') Returns a Future<dynamic> that completes when the locale is set

Implementation

static Future<dynamic> setLocale(String locale) {
  return BlueConicPlatform.instance.setLocale(locale);
}