message property

String get message

The message to be displayed for this diagnostic.

The message indicates what is wrong and why it is wrong.

Implementation

String get message => problemMessage.messageText(includeUrl: true);