CompleteEvent<T> class

Event of the completion of a sequence of type T.

Inheritance

Constructors

CompleteEvent()
const

Properties

error Object
Returns the error of a ErrorEvent, throws otherwise.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
isComplete bool
Returns true, if this is a completion event.
no setteroverride
isError bool
Returns true, if this is an event with an error and an optional stackTrace.
no setterinherited
isNext bool
Returns true, if this is an event with a value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
Returns the optional stack trace of a ErrorEvent, throws otherwise.
no setterinherited
value → T
Returns the value of a NextEvent, throws otherwise.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(Observer<T> observer) → void
Performs this event on the observer.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override