afterError method Null safety
- S current,
- Object error,
- StackTrace stackTrace
Returns an updated version of the current summary following an error
with a stack trace.
The default implementation returns current as is.
Implementation
S afterError(S current, Object error, StackTrace stackTrace) => current;