getInitialNotificationClick method
Implementation
@override
Future<Map<String, String>?> getInitialNotificationClick() async {
// Only Android needs this: tapping a Fanmeter local notification there
// relaunches the app's own Activity, so the app must feed its extras back
// into the SDK. On iOS the native SDK handles the tap internally.
if(!Platform.isAndroid) return null;
final result = await methodChannel.invokeMethod<dynamic>('getInitialNotificationClick');
if(result is Map) {
return result.map((key, value) => MapEntry(key.toString(), value.toString()));
}
return null;
}