whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? success(
- CustomerInfo customerInfo
- TResult? error(
- PurchasesError error
- TResult? purchaseBelongsToOtherUser()?,
- TResult? invalidToken()?,
- TResult? expired(
- String obfuscatedEmail
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(CustomerInfo customerInfo)? success,
TResult? Function(PurchasesError error)? error,
TResult? Function()? purchaseBelongsToOtherUser,
TResult? Function()? invalidToken,
TResult? Function(String obfuscatedEmail)? expired,
}) =>
throw _privateConstructorUsedError;