StoreTransaction constructor

  1. @Deprecated('Constructor has become experimental. Keeping old constructor ' 'for backwards compatibility.')
StoreTransaction(
  1. @Deprecated('Use transactionIdentifier instead.') String revenueCatIdentifier,
  2. String productIdentifier,
  3. String purchaseDate
)

Implementation

@Deprecated('Constructor has become experimental. Keeping old constructor '
    'for backwards compatibility.')
factory StoreTransaction(
  /// Deprecated: Use transactionIdentifier instead.
  @Deprecated('Use transactionIdentifier instead.')
      String revenueCatIdentifier,

  /// Product Id associated with the transaction.
  String productIdentifier,

  /// Purchase date of the transaction in ISO 8601 format.
  String purchaseDate,
) =>
    StoreTransaction.create(
      revenueCatIdentifier,
      revenueCatIdentifier,
      productIdentifier,
      purchaseDate,
    );