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 ...

Get Dart: Scalable Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.