ValidatePurchaseResponse constructor

ValidatePurchaseResponse({
  1. Iterable<ValidatedPurchase>? validatedPurchases,
})

Implementation

factory ValidatePurchaseResponse({
  $core.Iterable<ValidatedPurchase>? validatedPurchases,
}) {
  final _result = create();
  if (validatedPurchases != null) {
    _result.validatedPurchases.addAll(validatedPurchases);
  }
  return _result;
}