-
Notifications
You must be signed in to change notification settings - Fork 49
fix Cannot access null value from map #217
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
base: master
Are you sure you want to change the base?
Conversation
Hello |
Hello @apps-auth. Very rookie dev here so I imagine I am doing this incorrectly... Still wrapping my brain around all this and trying to use dart_eval for a FlutterFlow project. I noticed somewhere it seems like you made a bit of a change to class $String implements $Instance... ...I had a problem with the second pub.dev readme where it said that $String() didn't exist. Does this change solve that problem or am I completely out to lunch and the readme should be perfectly implementable? |
Hi, I appreciate your effort here. The Unfortunately, checks like |
This pull resolve problem of acess maps keys of null or undefinded.
This bellow example, with old code, return error in "lib\src\eval\runtime\ops\objects.dart" in line 100:
final method = ((object as $Instance).$getProperty(runtime, _method) as EvalFunction);
Throw error is "object" is null, not $Instance
Example code for replicate error: