onError property

void Function(dynamic e, StackTrace stackTrace)? onError
final

Called when errors happen with the Stream

Implementation

final void Function(dynamic e, StackTrace stackTrace)? onError;