CHAPTER 17

image

Processing Exceptions and Error Control

Thus far we’ve looked at important aspects of Dart, at what we consider to be the first part of the language. Now we’re going to dive in a little deeper. In this second part of the book we’ll learn about error control and exceptions—everything related to the creation and use of classes, constructors, and inheritance.

We’ll also talk about generics, isolates, typedefs, and how libraries work in Dart. Do not be scared by these weird names, as you will soon see what they are and how you can use them to improve your knowledge of Dart.

Exceptions and Error Control

All modern and object-oriented languages, ...

Get Web Programming with Dart now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.