whenOrNull<TResult extends Object?> method

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

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  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;