messageText abstract method
Gets the text of the message.
If includeUrl
is true
, and this diagnostic message has an associated
URL, it is included in the returned value in a human-readable way.
Clients that wish to present URLs as simple text can do this. If
includeUrl
is false
, no URL is included in the returned value.
Clients that have a special mechanism for presenting URLs (e.g. as a
clickable link) should do this and then consult the url getter to access
the URL.
Implementation
String messageText({required bool includeUrl});