get static method
- Uri uri, {
- Map<
String, String> ? data, - RequestInfo? requestInfo,
Makes a GET request to the given uri
. The data
is passed in the body of
the request as JSON.
Implementation
static Future<ResponseInfo> get(
Uri uri, {
Map<String, String>? data,
RequestInfo? requestInfo,
}) {
return _fetch(
HttpOperation.get,
uri,
parameters: data,
requestInfo: requestInfo,
);
}