get static method

Future<ResponseInfo> get(
  1. Uri uri, {
  2. Map<String, String>? data,
  3. RequestInfo? requestInfo,
})

Makes a GET request to the given uri. The data is passed in the body of the request as JSON.