@@ -50,15 +50,15 @@ Future<Response> get(Uri url, {Map<String, String>? headers}) =>
5050
5151/// Sends an HTTP POST request with the given headers and body to the given URL.
5252///
53- /// [body] sets the body of the request. It can be a [ String] , a [ List<int>] or
54- /// a [ Map<String, String>] . If it's a String, it's encoded using [encoding] and
55- /// used as the body of the request. The content-type of the request will
53+ /// [body] sets the body of the request. It can be a ` String` , a ` List<int>` or
54+ /// a ` Map<String, String>` . If it's a ` String` , it's encoded using [encoding]
55+ /// and used as the body of the request. The content-type of the request will
5656/// default to "text/plain".
5757///
58- /// If [body] is a List, it's used as a list of bytes for the body of the
58+ /// If [body] is a ` List` , it's used as a list of bytes for the body of the
5959/// request.
6060///
61- /// If [body] is a Map, it's encoded as form fields using [encoding] . The
61+ /// If [body] is a ` Map` , it's encoded as form fields using [encoding] . The
6262/// content-type of the request will be set to
6363/// `"application/x-www-form-urlencoded"` ; this cannot be overridden.
6464///
@@ -73,15 +73,15 @@ Future<Response> post(Uri url,
7373
7474/// Sends an HTTP PUT request with the given headers and body to the given URL.
7575///
76- /// [body] sets the body of the request. It can be a [ String] , a [ List<int>] or
77- /// a [ Map<String, String>] . If it's a String, it's encoded using [encoding] and
78- /// used as the body of the request. The content-type of the request will
76+ /// [body] sets the body of the request. It can be a ` String` , a ` List<int>` or
77+ /// a ` Map<String, String>` . If it's a ` String` , it's encoded using [encoding]
78+ /// and used as the body of the request. The content-type of the request will
7979/// default to "text/plain".
8080///
81- /// If [body] is a List, it's used as a list of bytes for the body of the
81+ /// If [body] is a ` List` , it's used as a list of bytes for the body of the
8282/// request.
8383///
84- /// If [body] is a Map, it's encoded as form fields using [encoding] . The
84+ /// If [body] is a ` Map` , it's encoded as form fields using [encoding] . The
8585/// content-type of the request will be set to
8686/// `"application/x-www-form-urlencoded"` ; this cannot be overridden.
8787///
@@ -97,15 +97,15 @@ Future<Response> put(Uri url,
9797/// Sends an HTTP PATCH request with the given headers and body to the given
9898/// URL.
9999///
100- /// [body] sets the body of the request. It can be a [ String] , a [ List<int>] or
101- /// a [ Map<String, String>] . If it's a String, it's encoded using [encoding] and
102- /// used as the body of the request. The content-type of the request will
100+ /// [body] sets the body of the request. It can be a ` String` , a ` List<int>` or
101+ /// a ` Map<String, String>` . If it's a ` String` , it's encoded using [encoding]
102+ /// and used as the body of the request. The content-type of the request will
103103/// default to "text/plain".
104104///
105- /// If [body] is a List, it's used as a list of bytes for the body of the
105+ /// If [body] is a ` List` , it's used as a list of bytes for the body of the
106106/// request.
107107///
108- /// If [body] is a Map, it's encoded as form fields using [encoding] . The
108+ /// If [body] is a ` Map` , it's encoded as form fields using [encoding] . The
109109/// content-type of the request will be set to
110110/// `"application/x-www-form-urlencoded"` ; this cannot be overridden.
111111///
0 commit comments