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