decode static method

ConfirmPurchaseResponse decode(
  1. Object result
)

Implementation

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