Skip to content

Commit e40e4cf

Browse files
committed
Style: formatted code
1 parent ffd050c commit e40e4cf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/enhanced_http/lib/utils.dart

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
class Utils {
2-
Map<String, String> mergeHeaders(Map<String, String>? h1, Map<String, String>? h2, [Map<String, String>? h3]) => {...?h1, ...?h2, ...?h3};
2+
Map<String, String> mergeHeaders(
3+
Map<String, String>? h1, Map<String, String>? h2,
4+
[Map<String, String>? h3]) =>
5+
{...?h1, ...?h2, ...?h3};
36

47
bool isStream(Map<String, String>? headers, [String? responseType = "json"]) {
5-
if ([headers?["Content-Type"], headers?["content-type"]].contains("multipart/form-data") || responseType == "stream") {
8+
if ([headers?["Content-Type"], headers?["content-type"]]
9+
.contains("multipart/form-data") ||
10+
responseType == "stream") {
611
return true;
712
}
813
return false;

0 commit comments

Comments
 (0)