decode static method
Implementation
static PurchaseResponse decode(Object result) {
result as List<Object?>;
return PurchaseResponse(
userData: result[0] != null
? UserData.decode(result[0]! as List<Object?>)
: null,
receipt: result[1] != null
? Receipt.decode(result[1]! as List<Object?>)
: null,
requestStatus: PurchaseRequestStatus.values[result[2]! as int],
);
}