Skip to content

Commit 74a4371

Browse files
authored
Separate the post description for "String" (#695)
1 parent 87d4379 commit 74a4371

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/src/client.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ abstract class Client {
4545
/// URL.
4646
///
4747
/// [body] sets the body of the request. It can be a [String], a [List<int>]
48-
/// or a [Map<String, String>]. If it's a String, it's encoded using
49-
/// [encoding] and used as the body of the request. The content-type of the
50-
/// request will default to "text/plain".
48+
/// or a [Map<String, String>].
49+
///
50+
/// If [body] is a String, it's encoded using [encoding] and used as the body
51+
/// of the request. The content-type of the request will default to
52+
/// "text/plain".
5153
///
5254
/// If [body] is a List, it's used as a list of bytes for the body of the
5355
/// request.

0 commit comments

Comments
 (0)