mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? success(
- _Success value
- TResult? error(
- _Error value
- TResult? purchaseBelongsToOtherUser(
- _PurchaseBelongsToOtherUser value
- TResult? invalidToken(
- _InvalidToken value
- TResult? expired(
- _Expired value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(_Success value)? success,
TResult? Function(_Error value)? error,
TResult? Function(_PurchaseBelongsToOtherUser value)?
purchaseBelongsToOtherUser,
TResult? Function(_InvalidToken value)? invalidToken,
TResult? Function(_Expired value)? expired,
}) =>
throw _privateConstructorUsedError;