onNewError property
Stream<FlutterErrorEntry>
get
onNewError
Fires once per app run for each error (by summary and location), and again when one recurs after startRun.
Implementation
Stream<FlutterErrorEntry> get onNewError => _new.stream;