unnecessary null check (#63083)

This commit is contained in:
Alexandre Ardhuin
2020-08-06 18:05:36 +02:00
committed by GitHub
parent 18ed041d18
commit c54b15b6b2

View File

@@ -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());