copyWithWrapped method

ItemAccessTokenInvalidateResponse copyWithWrapped({
  1. Wrapped<String>? newAccessToken,
  2. Wrapped<String>? requestId,
})

Implementation

ItemAccessTokenInvalidateResponse copyWithWrapped(
    {Wrapped<String>? newAccessToken, Wrapped<String>? requestId}) {
  return ItemAccessTokenInvalidateResponse(
      newAccessToken: (newAccessToken != null
          ? newAccessToken.value
          : this.newAccessToken),
      requestId: (requestId != null ? requestId.value : this.requestId));
}