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

New null safety does not let fromJson method to work #69

Closed
tanmoy27112000 opened this issue May 28, 2021 · 4 comments
Closed

New null safety does not let fromJson method to work #69

tanmoy27112000 opened this issue May 28, 2021 · 4 comments

Comments

@tanmoy27112000
Copy link

The issue shown:
Non-nullable instance field 'menu' must be initialized.
Try adding an initializer expression, or add a field initializer in this constructor, or mark it 'late'.dart

@tanmoy27112000
Copy link
Author

TO FIX it you have to initialize all the variables

@dingjianjaja
Copy link

use this https://dingjianjaja.github.io

@javiercbk
Copy link
Owner

It is illegal to promote your stuff here...but I'm a good guy, so I'll leave it here anyways :)

@javiercbk
Copy link
Owner

Also, It's done...I've implemented this feature

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

No branches or pull requests

3 participants