ValidatedPurchase constructor
ValidatedPurchase({
- String? productId,
- String? transactionId,
- ValidatedPurchase_Store? store,
- Timestamp? purchaseTime,
- Timestamp? createTime,
- Timestamp? updateTime,
- String? providerResponse,
- ValidatedPurchase_Environment? environment,
Implementation
factory ValidatedPurchase({
$core.String? productId,
$core.String? transactionId,
ValidatedPurchase_Store? store,
$0.Timestamp? purchaseTime,
$0.Timestamp? createTime,
$0.Timestamp? updateTime,
$core.String? providerResponse,
ValidatedPurchase_Environment? environment,
}) {
final _result = create();
if (productId != null) {
_result.productId = productId;
}
if (transactionId != null) {
_result.transactionId = transactionId;
}
if (store != null) {
_result.store = store;
}
if (purchaseTime != null) {
_result.purchaseTime = purchaseTime;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (updateTime != null) {
_result.updateTime = updateTime;
}
if (providerResponse != null) {
_result.providerResponse = providerResponse;
}
if (environment != null) {
_result.environment = environment;
}
return _result;
}