StoreTransaction.create constructor
const
StoreTransaction.create(
- @JsonKey(readValue: _readTransactionIdentifier) String transactionIdentifier,
- @Deprecated('Use transactionIdentifier instead.') @JsonKey(readValue: _readTransactionIdentifier) String revenueCatIdentifier,
- String productIdentifier,
- String purchaseDate,
Experimental. This factory method is subject to changes without a major release.
Implementation
const factory StoreTransaction.create(
/// RevenueCat Id associated to the transaction. Empty for Amazon.
// ignore: invalid_annotation_target
@JsonKey(readValue: _readTransactionIdentifier)
String transactionIdentifier,
/// Deprecated: Use transactionIdentifier instead. Empty for Amazon.
@Deprecated('Use transactionIdentifier instead.')
// ignore: invalid_annotation_target
@JsonKey(readValue: _readTransactionIdentifier)
String revenueCatIdentifier,
/// Product Id associated with the transaction.
String productIdentifier,
/// Purchase date of the transaction in ISO 8601 format.
String purchaseDate,
) = _StoreTransaction;