launchEvent static method

Future<UNotificationEvent?> launchEvent()

The notification tap that launched the app, if any.

Implementation

static Future<UNotificationEvent?> launchEvent() async {
  if (kIsWeb) return null;
  final Map<Object?, Object?>? raw = await _call<Map<Object?, Object?>>("launchEvent");
  return raw == null ? null : UNotificationEvent.fromMap(raw);
}