decode static method
Implementation
static ConfirmPurchaseResponse decode(Object result) {
result as List<Object?>;
return ConfirmPurchaseResponse(
success: result[0]! as bool,
errorMessage: result[1] as String?,
);
}
static ConfirmPurchaseResponse decode(Object result) {
result as List<Object?>;
return ConfirmPurchaseResponse(
success: result[0]! as bool,
errorMessage: result[1] as String?,
);
}