public
toResponse(Request $request): Response
Create an HTTP response that represents the object.
Illuminate\Http\Resources\Json\JsonResource::toResponse()
Illuminate\Support\Uri::toResponse()