O'Reilly logo

Mastering Dart by Sergey Akopkokhyants

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An overview of the stream framework API

You can see the hierarchy of the stream framework classes in the following diagram:

An overview of the stream framework API

The Stream class

The Stream class is abstract and provides a generic view on the sequence of byte lists. It implements numerous methods to help you manage or republish streams in your application. The sequence of events can be seamlessly provided by Stream. The events that are generated by Stream store the data to be delivered. In case of a failure, the Stream class generates an error event. When all the events have been sent, the Stream class generates done event.

The validation methods of the Stream class

The Stream class has ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required