Skip to content

Glossary: Dart Basics

throw

Also written: throws

Starting an exception on purpose, as in throw ArgumentError('Must be at least 1').

Where the book teaches it

Related terms

exceptioncatch