OneCompiler

console.log("") equivalent in Flutter

I want to know the values for some of the variables in development time.
What is the equivalent for console.log("") in Flutter?

1 Answer

5 years ago by

You can use log, for example

log('user: $userObj');
5 years ago by Karthik Divi