File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
- Add ` MockContentTypeEnum ` parameter to ` ApiManager ` to mock sends Plain Text response correctly
4
4
- Parse String or Json according to the new parameter in mock
5
5
- Send correct content-type header according to the new parameter in mock
6
+ - Update version dio to 5.8.0+1
7
+ - Reduce delay to 500 milliseconds
6
8
7
9
## [ 1.1.3] - Add new parameter from Dio override
8
10
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class MockReplyParams {
6
6
const MockReplyParams ({
7
7
required this .mockPath,
8
8
this .status = HttpStatusEnum .ok,
9
- this .delay = const Duration (seconds : 1 ),
9
+ this .delay = const Duration (milliseconds : 500 ),
10
10
this .contentType = MockContentTypeEnum .json,
11
11
});
12
12
Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ packages:
82
82
dependency: "direct main"
83
83
description:
84
84
name: dio
85
- sha256: "5fe8c82766abd7494130a3dc5b9ffb8ca916898900c75a369b287267eac8d5b0 "
85
+ sha256: "253a18bbd4851fecba42f7343a1df3a9a4c1d31a2c1b37e221086b4fa8c8dbc9 "
86
86
url: "https://pub.dev"
87
87
source: hosted
88
- version: "5.8.0"
88
+ version: "5.8.0+1 "
89
89
dio_web_adapter:
90
90
dependency: transitive
91
91
description:
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ environment:
9
9
flutter : " >=3.0.0"
10
10
11
11
dependencies :
12
- dio : ^5.7.0
12
+ dio : ^5.8.0+1
13
13
http_mock_adapter : ^0.6.1
14
14
15
15
dev_dependencies :
You can’t perform that action at this time.
0 commit comments