one method
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);
}