Unverified Commit c54b15b6 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

unnecessary null check (#63083)

parent 18ed041d
......@@ -679,7 +679,7 @@ class FlutterErrorDetails with Diagnosticable {
}
}
properties.add(ErrorSpacer());
properties.add(DiagnosticsStackTrace('When the exception was thrown, this was the stack', stack!, stackFilter: stackFilter));
properties.add(DiagnosticsStackTrace('When the exception was thrown, this was the stack', stack, stackFilter: stackFilter));
}
if (informationCollector != null) {
properties.add(ErrorSpacer());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment