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

memoized or equivilent #1130

Closed
jimmyff opened this issue Oct 2, 2024 · 1 comment
Closed

memoized or equivilent #1130

jimmyff opened this issue Oct 2, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request needs triage

Comments

@jimmyff
Copy link

jimmyff commented Oct 2, 2024

I've moved from using built_value to freezed and I love how much more succinct this package makes my models although one feature I really miss is the memoized annotation.

Do you think this is something freezed could get or is there a way of achieving similar that I've missed?

Thanks

@rrousselGit
Copy link
Owner

Dart natively supports that:

late final myMemoized = <some code>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

2 participants