How can I access Dart functions/variables from the Dartium DevTool Console? How can I access Dart functions/variables from the Dartium DevTool Console? dart dart

How can I access Dart functions/variables from the Dartium DevTool Console?


You need to select a Dart context.
When you open devtools > Console tab there is <top frame> selected by default.
You need to switch to a Dart context like dart:core.
As far as I remember it doesn't matter which Dart context is selected, just one of the Dart contexts.

enter image description here