Flutter get request with bearer token

hi everyone I’m trying to run an app that pulls an HTTP request from Samsung smarthings using a get HTTP request I have the URL and the bearer token I just need a sample code that is based on these parameters can someone lead me in the right direction

here is a ling to the smarthings API it talks about the get request https://smartthings.developer.samsung.com/docs/api-ref/st-api.html#operation/getDevices

Hello and welcome,
to add the authorization header to your HTTP request, check out the following guide: