markCheckoutSucceeded method
Mark the checkout as succeeded; transitions state toward accepted
(when OfferOfferData.needsAppleCancel is true) or completed.
Implementation
Future<void> markCheckoutSucceeded({String? transactionId}) async {
_ensureNotDisposed();
await _methodChannel.invokeMethod<void>('markCheckoutSucceeded', {
if (transactionId != null) 'transactionId': transactionId,
});
}