error property

Object get error

Returns last emitted error, failing if there is no error. See hasError to determine whether error has already been set.

Throws ValueStreamError if this Stream has no error.

See also errorOrNull.

Implementation

Object get error;