Message constructor

const Message({
  1. required Identifier id,
  2. Pattern? value,
  3. List<Attribute> attributes = const [],
  4. Comment? comment,
  5. Span? span,
})

Bundles the message's id, optional value, attributes, and attached comment.

Implementation

const Message({
  required this.id,
  this.value,
  this.attributes = const [],
  this.comment,
  this.span,
});