createCheckout method

Creates a checkout without allowing the backend to navigate the page.

Implementation

@override
Future<InappifySdkResult<InappifyCheckoutResult>> createCheckout(
  InappifyPurchaseRequest request,
) {
  return _invokeResult<InappifyCheckoutResult>(
    method: InappifyChannelContract.createCheckout,
    payload: request.toMap(),
    requestId: request.idempotencyKey,
    decodeData: InappifyCheckoutResult.fromMap,
  );
}