get static method
Sends a GET request to uri
. Includes request headers
if given.
Secure cookies (credentials) will be included (in the browser) if
withCredentials
is true.
Implementation
static Future<Response> get(Uri uri,
{Map<String, String>? headers,
TransportPlatform? transportPlatform,
bool? withCredentials}) =>
_createRequest(uri,
headers: headers,
transportPlatform: transportPlatform,
withCredentials: withCredentials)
.get();