maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult success(
- _Success value
- TResult error(
- _Error value
- TResult purchaseBelongsToOtherUser(
- _PurchaseBelongsToOtherUser value
- TResult invalidToken(
- _InvalidToken value
- TResult expired(
- _Expired value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;