contextMessages property
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
@override
List<DiagnosticMessage> get contextMessages => _contextMessages;