Term constructor

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

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

Implementation

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