logIAPResult method
Implementation
@override
Future<void> logIAPResult(String pack, double price, int amount,
String currency, bool isSuccess) async {
try {
await _logRevenueChannel
.invokeMethod(SuperfineSdkChannelMethods.logIAPResult, {
'pack': pack,
'price': price,
'amount': amount,
'currency': currency,
'isSuccess': isSuccess
});
} catch (e) {
print("Error logging IAP result: $e");
}
}