errors property
List<FlutterErrorDetails>
get
errors
What the framework caught while building the stage. A throwing stage renders as Flutter's error box and would otherwise be a clean-looking success.
Implementation
List<FlutterErrorDetails> get errors => _mounted.flutterErrors;