I'm currently evaluating Dart as an embedded scripting language. Our current Lua setup allows us to react on newly added or changed properties via metamethods, which we need for dynamic reloading. Is there something similar for the Dart language? The reflection API doesn't seem to offer this feature.
Asked
Active
Viewed 63 times
0
-
In Dart properties can't be added dynamically. – Günter Zöchbauer Jul 25 '16 at 15:04
-
I didn't even notice because we only need that feature for dynamic reloading. Putting Dart of my list. Thanks for the quick reply! – Azurea-99 Jul 25 '16 at 21:06
-
1You might be able to accomplish what you want with `noSuchMethod` – Ganymede Jul 25 '16 at 21:32