decode static method
Implementation
static InvalidPurchase decode(Object result) {
result as List<Object?>;
return InvalidPurchase(
purchaseId: result[0] as String?,
invoiceId: result[1] as String?,
orderId: result[2] as String?,
quantity: result[3] as int?,
productId: result[4] as String?,
errorCode: result[5] as int?,
sandbox: result[6] as bool?,
);
}