get method

Future get(
  1. BuildContext context,
  2. String url, {
  3. Map<String, String>? query,
  4. Map<String, String>? header,
  5. Map<String, dynamic>? params,
  6. bool responseData = true,
})

Implementation

Future get(BuildContext context, String url,
    {Map<String, String>? query,
    Map<String, String>? header,
    Map<String, dynamic>? params,
    bool responseData = true}) {
  return _send(context, 'get', url, header,
      payload: params, responseData: responseData);
}