NextEvent<T> class

Event with value of type T.

Inheritance

Constructors

NextEvent(T value)
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 setterinherited
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 setteroverride
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.
final

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