convertFromPigeon static method
Converts SKPaymentDiscountMessage into the dart equivalent
Implementation
static SKPaymentDiscountWrapper? convertFromPigeon(
SKPaymentDiscountMessage? msg,
) {
if (msg == null) {
return null;
}
return SKPaymentDiscountWrapper(
identifier: msg.identifier,
keyIdentifier: msg.keyIdentifier,
nonce: msg.nonce,
signature: msg.signature,
timestamp: msg.timestamp,
);
}