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.
1 parent d1abd63 commit 8b48904Copy full SHA for 8b48904
lib/onesignal_flutter.dart
@@ -329,6 +329,12 @@ class OneSignal {
329
return results.cast<String, dynamic>();
330
}
331
332
+ Future<Map<String, dynamic>> setLanguage(String language) async {
333
+ Map<dynamic, dynamic> results =
334
+ await (_channel.invokeMethod("OneSignal#setLanguage", {'language' : language}));
335
+ return results.cast<String, dynamic>();
336
+ }
337
+
338
/// Adds a single key, value trigger, which will trigger an in app message
339
/// if one exists matching the specific trigger added
340
Future<void> addTrigger(String key, Object value) async {
0 commit comments