StoreTransaction.create constructor
const
StoreTransaction.create(
- String transactionIdentifier,
- @Deprecated('Use transactionIdentifier instead.') @JsonKey(readValue: _readRevenueCatIdentifier) 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.
String transactionIdentifier,
/// Deprecated: Use transactionIdentifier instead.
@Deprecated('Use transactionIdentifier instead.')
// ignore: invalid_annotation_target
@JsonKey(readValue: _readRevenueCatIdentifier)
String revenueCatIdentifier,
/// Product Id associated with the transaction.
String productIdentifier,
/// Purchase date of the transaction in ISO 8601 format.
String purchaseDate,
) = _StoreTransaction;