MessageProperty constructor
- String name,
- String message, {
- DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine,
- DiagnosticLevel level = DiagnosticLevel.info,
Create a diagnostics property that displays a message.
Messages have no concrete value (so value will return null). The message is stored as the description.
Implementation
MessageProperty(
String name,
String message, {
DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine,
DiagnosticLevel level = DiagnosticLevel.info,
}) : super(name, null, description: message, style: style, level: level);