decode static method

ProductDataResponse decode(
  1. Object result
)

Implementation

static ProductDataResponse decode(Object result) {
  result as List<Object?>;
  return ProductDataResponse(
    unavailableSkus: (result[0] as List<Object?>?)!.cast<String?>(),
    requestStatus: RequestStatus.values[result[1]! as int],
    productData: (result[2] as Map<Object?, Object?>?)!.cast<String?, Product?>(),
  );
}