getAppLaunchedDetails method
This method is used to get the app launch details.
Implementation
@override
Future<MirrorflyNotificationAppLaunchDetails?> getAppLaunchedDetails() async {
String? res;
try {
res = await mirrorFlyMethodChannel
.invokeMethod<String>('appLaunchedDetails');
LogMessage.d('getAppLaunchedDetails', '$res');
return mirrorflyNotificationAppLaunchDetailsFromJson(res ?? "");
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}