setLocaleOverride method
Overrides default host system locale with the specified one.
locale
ICU style C locale (e.g. "en_US"). If not specified or empty, disables the override and
restores default host system locale.
Implementation
Future<void> setLocaleOverride({String? locale}) async {
await _client.send('Emulation.setLocaleOverride', {
if (locale != null) 'locale': locale,
});
}