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