Skip to content

Glossary: Dart Basics

toString()

A method every object has that turns it into text, and which print uses. Writing your own with @override changes how the object prints.

Where the book teaches it

Related terms

@override