Created
March 6, 2024 23:49
-
-
Save rodydavis/787407b493047a5905da72510d17dc6d to your computer and use it in GitHub Desktop.
How to Print Multiple Objects to the Console with print()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
final number = 1; | |
final str = 'Hello World'; | |
print((number, str)); | |
print((DateTime.now(), str)); | |
print((DateTime.now(), count: number, description: str)); | |
print((DateTime.now(), StackTrace.current)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment