Skip to content

Commit 586e7e4

Browse files
committed
Remove extra null safety check from demo app
1 parent 4d56713 commit 586e7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class _MyAppState extends State<MyApp> {
289289

290290
// Get the value for a trigger by its key
291291
Object? triggerValue = await OneSignal.shared.getTriggerValueForKey("trigger_3");
292-
print("'trigger_3' key trigger value: ${triggerValue?.toString() ?? null}");
292+
print("'trigger_3' key trigger value: ${triggerValue?.toString()}");
293293

294294
// Create a list and bulk remove triggers based on keys supplied
295295
List<String> keys = ["trigger_1", "trigger_3"];

0 commit comments

Comments
 (0)