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

How to use the @late keyword with freezed model? #958

Closed
tolotrasamuel opened this issue Jul 30, 2023 · 0 comments
Closed

How to use the @late keyword with freezed model? #958

tolotrasamuel opened this issue Jul 30, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation needs triage

Comments

@tolotrasamuel
Copy link

tolotrasamuel commented Jul 30, 2023

Describe what scenario you think is uncovered by the existing examples/articles
In version 0.6.0 , freezed pioneer the late keyword with the annotation @lateeven before it was implemented on Dart.
This keyword seems to have been removed later.

Describe why existing examples/articles do not cover this case
No documentation was found explaining how to use late initialized field.

Additional context
I have asked a similar question in SO with an attempt that did not work https://stackoverflow.com/questions/76502648/how-to-use-late-final-keyword-in-flutter-dart-freezed-model

@tolotrasamuel tolotrasamuel added documentation Improvements or additions to documentation needs triage labels Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation needs triage
Projects
None yet
Development

No branches or pull requests

2 participants