applePayResult method
Report Apple Pay result
When you send the prime to your server and get the result, you can report the result to TapPay.
result
is the result of the transaction.
return TapPaySdkCommonResult with value success
as true
if success.
return TapPaySdkCommonResult with value success
as false
if fail.
return TapPaySdkCommonResult with value message
as String if fail.
Implementation
Future<TapPaySdkCommonResult?> applePayResult({required bool result}) {
return FlutterTapPaySdkPlatform.instance.applePayResult(result: result);
}