whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? create()?,
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;