Skip to content

Make factory params return exact type #214

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

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

ManoyloK
Copy link

@ManoyloK ManoyloK commented Jul 8, 2021

When we get params from a factory we always have to cast them to not-nullable values even if we confident that they are not null

@ManoyloK
Copy link
Author

Hello, @escamoteur! Could you please take a look at this PR?

@escamoteur
Copy link
Collaborator

yep, will do now

@escamoteur escamoteur merged commit b6583d3 into fluttercommunity:null_safety Jul 13, 2021
@escamoteur
Copy link
Collaborator

In V7.2.0

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.

2 participants