maybeWhen<TResult extends Object?> method

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

Implementation

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