ReportMessage class

A raised message: the definition and what this case shows.

Constructors

ReportMessage({required MessageDefinition definition, String? repository, String? branch, required String finding, List<ReportEvidence> evidence = const [], String? state, Map<String, String> values = const {}, Map<String, String> explanations = const {}, List<String>? offer})
const

Properties

branch → String?
The branch shown beside the repository.
final
code → String
no setter
definition → MessageDefinition
final
evidence → List<ReportEvidence>
final
explanations → Map<String, String>
This case's explanation of an option, replacing the definition's (it can name the branch, the stamp, ...).
final
finding → String
What was found and why it matters (lines with \n).
final
hashCode → int
The hash code for this object.
no setterinherited
level → MessageLevel
no setter
offer → List<String>?
The options offered, by name; null: every option of the definition.
final
options → List<MessageOption>
The options offered here, in the definition's order.
no setter
repository → String?
The repository's path from the root ('' for the root); null for a message about the run.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
The state it was left in.
final
values → Map<String, String>
The value of a MessageOption.valueName option (skip-file -> a glob).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited