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