SKPaymentTransactionWrapper constructor
SKPaymentTransactionWrapper({
- required SKPaymentWrapper payment,
- required SKPaymentTransactionStateWrapper transactionState,
- SKPaymentTransactionWrapper? originalTransaction,
- double? transactionTimeStamp,
- String? transactionIdentifier,
- SKError? error,
Creates a new SKPaymentTransactionWrapper with the provided information.
Implementation
// TODO(stuartmorgan): Temporarily ignore const warning in other parts of the
// federated package, and remove this.
// ignore: prefer_const_constructors_in_immutables
SKPaymentTransactionWrapper({
required this.payment,
required this.transactionState,
this.originalTransaction,
this.transactionTimeStamp,
this.transactionIdentifier,
this.error,
});