I am trying to debug an issue in a pure dart code. In flutter I use debugPrint()
and I found the note that inspect()
does this with Dart. However, nothing happens, log()
neither. Only print()
provides an input. However, I have a complex object, and I would rather not transform all its content into strings.
So how can I output a data object for debugging purposes with Dart (and IntelliJ Idea)?