We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setLanguage
1 parent 55526ea commit eeb3479Copy full SHA for eeb3479
lib/onesignal_flutter.dart
@@ -379,6 +379,8 @@ class OneSignal {
379
return results.cast<String, dynamic>();
380
}
381
382
+ /// Sets the user's language.
383
+ /// Applies also to the email and/or SMS player if those are logged in on the device.
384
Future<Map<String, dynamic>> setLanguage(String language) async {
385
Map<dynamic, dynamic> results =
386
await (_channel.invokeMethod("OneSignal#setLanguage", {'language' : language}));
0 commit comments