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 {
  final List<dynamic> params = <dynamic>[locale.toString()];
  await _channel.invokeMethod<Object>('setLocale:', params);
}