SpanMarker constructor

const SpanMarker({
  1. required Attribution attribution,
  2. required int offset,
  3. required SpanMarkerType markerType,
})

Constructs a SpanMarker with the given attribution, offset within some discrete content, and markerType of start or end.

Implementation

const SpanMarker({
  required this.attribution,
  required this.offset,
  required this.markerType,
});