PaymentResultData constructor
PaymentResultData({
- required String? errorString,
- String? errorCode,
- required PaymentResult paymentResult,
Creates a PaymentResultData with the given paymentResult.
Provide errorString and errorCode when paymentResult is
PaymentResult.error.
Implementation
PaymentResultData({
required this.errorString,
this.errorCode,
required this.paymentResult,
});