Skip to content

add some code lint in Future.then#11

Merged
wendux merged 1 commit into
cfug:masterfrom
HxBreak:master
Jun 23, 2018
Merged

add some code lint in Future.then#11
wendux merged 1 commit into
cfug:masterfrom
HxBreak:master

Conversation

@HxBreak

@HxBreak HxBreak commented May 29, 2018

Copy link
Copy Markdown

#当使用链式调用时增加代码提示

Dio dio = Dio();
dio.get("http://www.baidu.com/").then((v){
print(v.data);
})

之前的代码会显示为动态类型没有成员提示

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #11 into master will increase coverage by 0.73%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage    85.8%   86.53%   +0.73%     
==========================================
  Files           9        9              
  Lines         317      312       -5     
==========================================
- Hits          272      270       -2     
+ Misses         45       42       -3
Impacted Files Coverage Δ
lib/src/Dio.dart 86.13% <77.77%> (+1.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d3e8af...20034a9. Read the comment docs.

@wendux wendux merged commit 0145593 into cfug:master Jun 23, 2018
@fly512 fly512 mentioned this pull request Jan 7, 2019
@sunguotao sunguotao mentioned this pull request Jul 29, 2019
@inoryxun inoryxun mentioned this pull request Feb 24, 2020
@ngallazzi ngallazzi mentioned this pull request Nov 25, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants