Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some code lint in Future.then #11

Merged
merged 1 commit into from
Jun 23, 2018
Merged

add some code lint in Future.then #11

merged 1 commit into from
Jun 23, 2018

Conversation

HxBreak
Copy link

@HxBreak HxBreak commented May 29, 2018

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

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

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

@codecov-io
Copy link

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