registerClick method
Resolves recommendation's destination URL at the moment of an actual
user tap — and, for an organic recommendation, reports the click to
the traffic endpoint as native's own getUrl(rec) does. Returns null
if recommendation has no TeadsRecommendation.clickId. Throws a
PlatformException with code click_id_not_found if native no longer
has the recommendation cached.
Implementation
@override
Future<String?> registerClick(TeadsRecommendation recommendation) async {
registerClickCallCount++;
lastClickedRecommendation = recommendation;
return clickUrl;
}