doPost method
Implementation
@protected
Future<Response> doPost(
String url,
String body, {
Map<String, String>? headers,
}) {
final postHeaders = {
'Content-type': 'application/json',
};
if (headers != null) postHeaders.addAll(headers);
return httpClient.post(Uri.parse(url), body: body, headers: postHeaders);
}