Jonatas

update to 3.22.1

  1 +## [3.22.1]
  2 +- Improve: auto jsonDecode occurs only if response.header.contentType is "application/json"
  3 +- Improve and fix requests types (@eduardoflorence)
  4 +- Fix HeaderValue variables with same name (@haidang93)
  5 +
  6 +
1 ## [3.22.0] 7 ## [3.22.0]
2 - Added: more multipart options. Now you can send as multipart: 8 - Added: more multipart options. Now you can send as multipart:
3 9
@@ -10,12 +16,9 @@ String path: @@ -10,12 +16,9 @@ String path:
10 Or bytes (Flutter web work only with bytes): 16 Or bytes (Flutter web work only with bytes):
11 'file':MultipartFile(File('file').readAsBytesSync(), filename: 'avatar.png'), 17 'file':MultipartFile(File('file').readAsBytesSync(), filename: 'avatar.png'),
12 18
13 -- Improve: auto jsonDecode occurs only if response.header.contentType is "application/json"  
14 -  
15 - Added: Upload Progress to MultipartRequest 19 - Added: Upload Progress to MultipartRequest
16 - Added support to List<MultipartFile> (@jasonlaw) 20 - Added support to List<MultipartFile> (@jasonlaw)
17 -- Improve and fix requests types (@eduardoflorence)  
18 -- Fix HeaderValue variables with same name (@haidang93) 21 +
19 22
20 ## [3.21.3] 23 ## [3.21.3]
21 - Improve multipart file and defaultDecoder on GetConnect 24 - Improve multipart file and defaultDecoder on GetConnect
@@ -229,7 +229,7 @@ class HeaderValue { @@ -229,7 +229,7 @@ class HeaderValue {
229 } 229 }
230 var valueParameter = parseParameterValue(); 230 var valueParameter = parseParameterValue();
231 if (name == 'charset' && valueParameter != null) { 231 if (name == 'charset' && valueParameter != null) {
232 - valueParameter = valueParameter .toLowerCase(); 232 + valueParameter = valueParameter.toLowerCase();
233 } 233 }
234 parameters[name] = valueParameter; 234 parameters[name] = valueParameter;
235 bump(); 235 bump();
1 name: get 1 name: get
2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX. 2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
3 -version: 3.22.0 3 +version: 3.22.1
4 homepage: https://github.com/jonataslaw/getx 4 homepage: https://github.com/jonataslaw/getx
5 5
6 environment: 6 environment: