presentCheckout method
Implementation
Future<InaiResult> presentCheckout({required BuildContext context}) async {
InaiCheckoutWidget checkoutWidget = InaiCheckoutWidget(
config: _config, checkoutMode: InaiCheckoutMode.payment);
if (Platform.isAndroid){
return await _showCheckoutWidget(context, checkoutWidget,false);
}else{
return await _showCheckoutWidget(context, checkoutWidget,true);
}
}