setLocale static method

Future<void> setLocale(
  1. IBGLocale locale
)

Sets the SDK's locale. Use to change the SDK's UI to different language. Defaults to the device's current locale.

Implementation

static Future<void> setLocale(IBGLocale locale) async {
  return _host.setLocale(locale.toString());
}