Attribute constructor

const Attribute({
  1. required Identifier id,
  2. required Pattern value,
  3. Span? span,
})

Pairs the attribute id with its value pattern.

Implementation

const Attribute({required this.id, required this.value, this.span});