one method

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

Implementation

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