syncOnAppOpen method

  1. @override
Future<List<AppwinInAppMessage>> syncOnAppOpen()
override

Reports an app open and returns what it triggered. See AppwinNotifications.syncOnAppOpen.

Implementation

@override
Future<List<AppwinInAppMessage>> syncOnAppOpen() async {
  final raw = await methodChannel.invokeMethod<List<Object?>>(
    'syncOnAppOpen',
  );
  return _decode(raw);
}