utils library

Classes

CompositeSubscription
Acts as a container for multiple subscriptions that can be canceled at once e.g. view subscriptions in Flutter that need to be canceled on view disposal
DataNotification<T>
A notification representing a data event from a Stream.
DoneNotification
A notification representing a done event from a Stream.
ErrorAndStackTrace
An Object which acts as a tuple containing both an error and the corresponding stack trace.
ErrorNotification
A notification representing an error event from a Stream.
StreamNotification<T>
A class that encapsulates the NotificationKind of event, value of the event in case of onData, or the Error in the case of onError. A container object that wraps the NotificationKind of event (OnData, OnDone, OnError), and the item or error that was emitted. In the case of onDone, no data is emitted as part of the StreamNotification.

Enums

NotificationKind
The type of event used in StreamNotification

Extensions

AddToCompositeSubscriptionExtension on StreamSubscription<T>
Extends the StreamSubscription class with the ability to be added to CompositeSubscription container.
StreamNotificationExtensions on StreamNotification<T>
Provides extension methods on StreamNotification.