when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult create(
    1. String transactionIdentifier,
    2. String revenueCatIdentifier,
    3. String productIdentifier,
    4. String purchaseDate,
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(
          @JsonKey(name: 'transactionIdentifier')
              String transactionIdentifier,
          @Deprecated('Use transactionIdentifier instead.')
          @JsonKey(readValue: _readRevenueCatIdentifier)
              String revenueCatIdentifier,
          @JsonKey(name: 'productIdentifier')
              String productIdentifier,
          @JsonKey(name: 'purchaseDate')
              String purchaseDate)
      create,
}) =>
    throw _privateConstructorUsedError;