reportOfferViewed method
Report that an offer was viewed by the user. All parameters are optional; when omitted the native SDK resolves the active offer automatically.
Implementation
@override
Future<void> reportOfferViewed({String? productId, int? variantId, String? flowType}) async {
await methodChannel.invokeMethod('reportOfferViewed', {
if (productId != null) 'productId': productId,
if (variantId != null) 'variantId': variantId,
if (flowType != null) 'flowType': flowType,
});
}