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