contextMessages property Null safety

List<DiagnosticMessage> contextMessages

A list of messages that provide context for understanding the problem being reported. The list will be empty if there are no such messages.

Implementation

List<DiagnosticMessage> get contextMessages;