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