map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult success(
    1. _Success value
    ),
  2. required TResult error(
    1. _Error value
    ),
  3. required TResult purchaseBelongsToOtherUser(
    1. _PurchaseBelongsToOtherUser value
    ),
  4. required TResult invalidToken(
    1. _InvalidToken value
    ),
  5. required TResult expired(
    1. _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;