How Can I Lasily/Dynamicaly Load Classes in Dart? How Can I Lasily/Dynamicaly Load Classes in Dart? dart dart

How Can I Lasily/Dynamicaly Load Classes in Dart?


To my knowledge there is no way to load code dynamically on the fly into an already running Dart program (although this might change when reflection arrives in Dart).

You could load a different Dart program and then communicate with it using postMessage but that seams a bit overkill. Perhaps you should open a bug for it. We also have a large Dart code base and could definitely use something like GWT code splitting to speed it up a bit.