setLocale static method
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());
}