-
Notifications
You must be signed in to change notification settings - Fork 351
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
feat: Get references from manager #2982
Labels
enhancement
New feature or request
Comments
The API looks convincing, but I think I need some more details that aren't clear to me (but probably important to get right/clarified first):
|
|
I'll have a PR in a couple of minutes which will allow you to experiment with it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Make it easy to get referenced objects.
Describe the solution you'd like
This is the syntax that I've gotten to work.
I'm shocked that this is possible using Dart's very limited type system:
Syntax
Type Hinting
The cool part is that when a
with___
is not specified, the type hint is void:And when added it's a nullable reference
I think this syntax is both developer friendly, while still being pretty simple in the source code.
@simolus3
What are your thoughts before I proceed?
The text was updated successfully, but these errors were encountered: