I want to debug my app in Dartium, call its methods, like APP.getUserState() from browser console.
With JavaScript I would just make APP global this way window.APP = myAPP.
How do I achieve the same effect with Dart app?
I want to debug my app in Dartium, call its methods, like APP.getUserState() from browser console.
With JavaScript I would just make APP global this way window.APP = myAPP.
How do I achieve the same effect with Dart app?
Copyright © 2021 Jogjafile Inc.
web/index.dart
Ensure the context is set to Dart and start using Dart classes: