PurchaseList constructor
PurchaseList({
- Iterable<
ValidatedPurchase> ? validatedPurchases, - String? cursor,
Implementation
factory PurchaseList({
$core.Iterable<ValidatedPurchase>? validatedPurchases,
$core.String? cursor,
}) {
final _result = create();
if (validatedPurchases != null) {
_result.validatedPurchases.addAll(validatedPurchases);
}
if (cursor != null) {
_result.cursor = cursor;
}
return _result;
}