message property
override
The message associated with this error.
The message may have newlines in it. The first line should be a terse description of the error, e.g. "Incorrect GlobalKey usage" or "setState() or markNeedsBuild() called during build". Subsequent lines should contain substantial additional information, ideally sufficient to develop a correct solution to the problem.
In some cases, when a FlutterError is reported to the user, only the first line is included. For example, Flutter will typically only fully report the first exception at runtime, displaying only the first line of subsequent errors.
All sentences in the error should be correctly punctuated (i.e., do end the error message with a period).
Implementation
@override
String get message => super.message;