onError property

Function? onError
final

called when the stream emits an error

Implementation

final Function? onError;