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(
          String transactionIdentifier,
          @Deprecated('Use transactionIdentifier instead.')
          @JsonKey(readValue: _readRevenueCatIdentifier)
          String revenueCatIdentifier,
          String productIdentifier,
          String purchaseDate)?
      create,
}) =>
    throw _privateConstructorUsedError;