decode static method
Implementation
static SK2TransactionMessage decode(Object result) {
result as List<Object?>;
return SK2TransactionMessage(
id: result[0]! as int,
originalId: result[1]! as int,
productId: result[2]! as String,
purchaseDate: result[3]! as String,
expirationDate: result[4] as String?,
purchasedQuantity: result[5]! as int,
appAccountToken: result[6] as String?,
restoring: result[7]! as bool,
receiptData: result[8] as String?,
error: result[9] as SK2ErrorMessage?,
);
}